I love Meld. It’s is my favorite diff tool, and one of the tools I missed the most when I switched over to Mac from Linux. Except, you can run Meld on Mac too. The easiest way is using Homebrew, via brew install meld. If you don’t have Homebrew on your Mac yet, it will […]
Delete Fork Dependency of a Repository on Atlassian Stash or GitHub
A colleague of mine forked a repo on Stash, just to re-use configuration. A better way of doing things would be to clone the original repo, keep the necessary config/setup files, delete .git folder, and re-initialize the new repo from scratch. In our case, we only noticed the fork about a week into the project, […]
Pipe Your Localhost to the Real World
I often have to demo my locahlost code to people who might not be in the same room with me. Usually it’s being done via a development environment. However, for a small change, it might be more work than it’s worth. That is why I was so happy to come across this tool https://ngrok.com/ All […]
MySQL Pretty Print in Command Line
TLDR; Use \G at the end of your query, as in mysql> SELECT * FROM sometable\G; I was looking for a better way to output mysql tables in console, and came across the following gem: So an ugly output like this: Was transformed into a nice looking output like this: Another option is to add […]