Recent Posts

Running GDB on macOS Big Sur

2 minute read

I usually use a remote VM for my dev work. I switched to my local mac due to some issues with remote environment. When I needed to run some quick debugging e...

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 ...