Hi there 馃憢

Welcome to my dev journal. I mostly write about python and machine learning stuff.

How to parse json in terminal using jq

A practical tutorial on jq So here鈥檚 the problem statement: Find the repository on github in which you have made most number of commits? And you need to do this on terminal (no python) Ofcourse, one can use python to find the answer, and it might be probably easy for you, if you have been using python for last many years. But let鈥檚 see if I can do this in terminal with jq and while doing so, let鈥檚 learn about it....

April 1, 2024 路 4 min 路 787 words 路 Me

How to `find` files in terminal?

Manager: Hey, I need your help, I have couple of images that are taking a lot of space on my PC, I want to delete them. How can I do that? Developer: Well that should be simple. Here, you go. This looks for all files with .png extension in the current directory and its subdirectories (using -R flag), then pipes those file names to rm command to delete them. ls -R | grep "....

February 21, 2024 路 2 min 路 363 words 路 Me

First Post

First Post This is an example post to test the website. It just contains some rough snippets. def hello_world(): print("Hello, World!")

February 2, 2024 路 1 min 路 21 words 路 Me