"Disable" iptables

Rather than "disabling" iptables in Ubuntu 14.04, you can allow everything. iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -F It's bad, but it »

Version ranges for node package dependencies

I've lifted this from npmjs.org, but here at least I'll find it again. version Must match version exactly >version Must be greater than version >=version etc < »

How to replace master branch in git, entirely, from another branch?

If you want to completely replace a branch by merging over another, the follow trick will help you, as it has helped me: git checkout yourbranch git merge -s ours »

Ongoing blog revival

Well, I've got the data extracted from the old MSSQL database and imported into the new blog but it looks like there are still a few things to do. The »

Remove .DS_Store from git repository

The following will help you remove .DS_Store from your git repository. $ find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch $ echo ".DS_Store" >> .gitignore $ git add »