Productivity


Indent JSON file

Again fast and a useful blog post all about Emacs and JSON. Let’s assume you have a one-line JSON object. It’s really annoying to read or fix.

If you are an Emacs user. M-x json-pretty-print-buffer-ordered Tadaaaaa

Related topics http://irreal.org/blog/?p=354 http://richardlog.com/post/12743073497/pretty-printing-json-and-xml-on-mac-osx


ansible molecule init error(python related)

It looks like really general problem. Fast blog which solve problem about creating molecule role Error log

Solution

Reference https://stackoverflow.com/questions/27630114/matplotlib-issue-on-os-x-importerror-cannot-import-name-thread


GitLab allow force push

By default, Gitlab has protection to force push to repository. It’s a good protection while collaborating with other peoples. But in this blog post, I’ll talk about how to break rules 🙂 Today by mistake our developer pushed important credentials to repository. It’s not nice to share secrets with everybody. […]


pass variable to grep or egrep

Hey, Look there is a fix that I spend 30-minute effort! about how to pass the variable to grep It will be a small but useful topic which is all about bash quotes. 🙂 DOESN’T WORK

JUST QUOTE

fast example

Have enjoyed, this century. Our kids will […]


Emacs helm select buffer

In my Emacs environment. I am using helm-mini to work with buffers because The advantages of using helm-mini, you can see the all information of helm-source-recentf, helm-source-buffers-list, helm-source-buffer-not-found together in 1 helm-buffer. After changing computer Ubuntu to Mac OS, few keyboard behaviors are changed in Emacs. One of that is […]