Git grep multiple repos at once

Updated in 2020 to work with Python 3. My company uses multiple git repos that all depend on one another. Often I find myself trying to grep through a few of them at the same time. Regular grep works, but it takes a long time and displays a lot of noise. git grep only searches … Read more

Google May Be Stealing Your Mobile Traffic

Update 10/17/2016 6:30pm: You can read a response from the tech lead of the AMP Project for Google, in the comment area. Update 11/01/2016 10:40pm: After learning more about AMP, it became clear that the original title was inaccurate. A better title would have been You may be losing Your Mobile Traffic. Update 11/03/2016 10:30pm: … Read more

Front Page of Hacker News in 5 Easy Steps

First, let me establish some credibility. In the past year a few of my posts made it to the front page of Hacker News, including: I Tried to Virtually Stalk Mark Zuckerberg Git Tips What is the best part about being a Software Engineer? Prior to my first Hacker News (HN) breakthrough, my articles have … Read more

Generate Weekly Reports from Your Git Commits

My current work requires me to submit weekly reports and so did some other jobs that I’ve had in the past. To help with that task, I wrote the following script that: Goes through every one of my git repos Checks if I’ve made any commits in the past week If I did, prints the … Read more

How to Add Git Auto-Completion for the Command Line Tools in Mac OS X

Git supports auto-completion when used via the terminal, which includes all basic commands such as git status or git checkout as well as local and remote branch names etc. It comes pre-installed on Ubuntu, but a few simple steps (bellow) have to be followed to get it working on Mac. Open up your terminal app … Read more

How to Remove Shell Integration From iterm2

I tried shell integration for iterm2 and I didn’t like it. I wasn’t sure how to remove it, so I looked into the install script. I am currently using bash, so all they did was to add an entry into my ~/.bash_profile file and download a ~/.iterm2_shell_integration.bash file. All I had to do, is remove … Read more

Git Mind Map

I’ve been cleaning out my old computer and came across a git mind map that I’ve used to put together this Git Cheatsheet. Both are aimed towards beginners. If you are an intermediate Git user, you might find 19 Tips For Everyday Git Use to be more interesting. I’ve thought that some people might prefer … Read more