Category Archives: Uncategorized

MacOS dotfiles for lots of command line customization

I’m a lazy programmer and computer operator. I like to use the minimum amount of keystrokes on the command line. As such, I really like this project: https://github.com/mathiasbynens/dotfiles.

Posted in Uncategorized | Leave a comment

MacOS file merge

http://www.howtogeek.com/198043/how-to-merge-folders-on-mac-os-x-without-losing-all-your-files-seriously/

Posted in Uncategorized | Leave a comment

show .files in mac finder

defaults write com.apple.finder AppleShowAllFiles -bool YES killall Finder

Posted in Uncategorized | Leave a comment

How to determine which git commit broke the build

Git bisect works with binary search. If you have automated test script that returns status 0 if the test is ok, you can even run the test as part git bisect. http://stackoverflow.com/questions/4713088/how-to-use-git-bisect/4714297#4714297.

Posted in Uncategorized | Leave a comment

How to safely delete files in git

Usually you want to delete files from the origin repo without deleting them from everyone’s local repo:  http://www.arlocarreon.com/blog/git/untrack-files-in-git-repos-without-deleting-them/

Posted in Uncategorized | Leave a comment

How to set up a git repository on a shared server

chgrp -R foo repodir # set the group chmod -R g+rw repodir # allow the group to read/write chmod g+s `find repodir -type d` # new files get group id of directory find <gitrepo> -type d | xargs setfacl -R … Continue reading

Posted in Uncategorized | Leave a comment

RichSnippets for Reviews without Ratings

At my employer WhoDoYou we list recommendations for local service providers culled from Facebook along with reviews and ratings from users on our own site. We treat provider Facebook recommendations as reviews, and our provider page displays a provider’s Facebook reviews and WhoDoYou reviews + … Continue reading

Posted in Uncategorized | Tagged , , | 1 Comment