General


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


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 […]


calling external command in python

In this blog post. I’ll talk about boring stuffs about working on shell and python together. There are few way to execute shell [bash|sh|zsh] command on python probably you searched and used one of them before. There are few bookmarks which you can check about that topic http://stackoverflow.com/questions/89228/calling-an-external-command-in-python http://stackoverflow.com/questions/89228/calling-an-external-command-in-python/92395#92395 http://stackoverflow.com/questions/89228/calling-an-external-command-in-python/89243#89243 […]