Recent Posts

Syntax Highlighting in python using pygments

1 minute read

I was working on a script where I had to output some markdown and json formatted content to the terminal. I thought it would be prettier to print that with s...

Ringing the terminal 🔔

1 minute read

The terminal bell comes in handy to have a visual or audible notifier while waiting on some jobs/processes to finish. Some ways to trigger the terminal bell....

Convert epoch seconds to datetime

less than 1 minute read

Some of the logs I debug often contain the timestamp in the form of epoch seconds, so I frequently had to convert them into readable datetime format. Noting ...

Processing JSON data with jq

3 minute read

jq is an excellent command line tool to operate on JSON data. I have been using it to process, filter and transform json objects for easy inference of the da...