I recently used Google Takeout to get a copy of all the photos and videos I had backed up there. I discovered, to my horror, that the files' timestamps were all wrong. I created a short script using
jq to rectify the situation.
I often find myself wanting to reference the current branch I am on when typing a command. I create a
bash function to paste it.
In this article I describe a (bash & Perl) script I’ve recently created to
git blame on the lines matching a
git grep I am performing, and
concepts, pitfalls, and solutions I’ve found along the way.