March 2012
2 posts
CamelCamelCamel.com: Amazon (and others) price... →
Mar 1st
Decide.com: When to buy electronics. →
Mar 1st
Mar 1st
February 2012
8 posts
A Case Against CoffeeScript →
I used CoffeeScript on a recent project, though not nearly as intimately as the author of the article.
Feb 22nd
Bash: $CDPATH →
Feb 13th
Custom Styling Google Maps →
Feb 13th
Lessons Learned In Combat
This story is from a man named Paul (RetreatHell). I read his story on m4carbine.net. I have re-posted his story here in it’s entirety: I originally wrote and posted this in the AAR for my recent carbine course on the Alumni Forum. It has since been published in the March 2010 issue of SWAT Magazine. Feel free to cross-post or share it where and how you see fit, as I want it to have as...
Feb 10th
Building a Ruby Gem and Installing (from GitHub)
Gah, I don’t know why this was such a pain: $ git clone [blah] .... $ gem build [blah].gemspec $ gem install [blah].X.Y.gem Oh, and if you want to remove a gem: $ gem uninstall [blah] Gah.
Feb 6th
Installing PyCrypto on OS X.
If you try to install Fabric 1.3+ on OS X, you may fail when you get to the PyCrypto part. You will need to do this before it will work: $ export ARCHFLAGS='-arch i386 -arch x86_64' More info here: http://stackoverflow.com/questions/5944332/broken-pipe-error-when-using-pip-to-install-pycrypto-on-mac-os-x
Feb 6th
Memory Efficiency in Java →
Feb 1st
January 2012
8 posts
Judge: Americans can be forced to decrypt their... →
Goodbye, Fifth Amendment.
Jan 24th
5 tags
dscl - the easy way to add hosts on OS X →
I use my /etc/hosts file a lot for development. I fire up VMs, shove a line into my hosts file and keep going. This is the way things should be. For some reason, OS X will occasionally revert my /etc/hosts file to a previous version - not the default version, but a previous version of /etc/hosts that I edited. I know this because when my changes are blown away, some old, crusty hosts entries are...
Jan 23rd
6 notes
Jan 22nd
“We have a legal system, not a justice system.”
– tekrat
Jan 20th
Designing Great API Docs →
Jan 12th
1 tag
Vmware Fusion, I Hate You
Dear VMware Fusion, Why do you suck? Why do you insist that the Virtual Machine Library morph into whatever VM I am booting? Why do you insist on animating every trivial thing? Why do you insist on preview screens for my VMs? Why wont you let me order my VMs in the library? Why do I use you over VirtualBox? Fuck if I know. Sincerely, Developer
Jan 11th
3 tags
Python: pip compared to easy_install →
I’ve used easy_install ‘just because’ for a while and have hated that it didn’t have things like uninstallation of packages, or that it could fail leaving packages in a garbage state. Looks like pip tries to solve those problems.
Jan 6th
12 notes
4 tags
mysqldump and mysql gotchas
mysqldump If you’re using mysqldump with a defaults file, you probably want to specify the --databases parameter anyway. Example defaults file (/tmp/derp.cnf): [client] password=derp user=derp port=3306 host=localhost database=derp mysqldump command example: $ mysqldump --defaults-file=/tmp/derp.cnf --single-transaction --compress > /tmp/derp.sql Warning: mysqldump: ignoring...
Jan 4th
44 notes
December 2011
9 posts
2 tags
Django: Site matching query does not exist.
I have been playing around with some Django things the last couple of days. Yesterday I was humming along, had several models implemented, started putting in my content and working on views when seemingly suddenly my /admin section stopped working. The first thing I did when logging in to admin was remove the example site. It looks like the culprit was me logging out to test logging in as another...
Dec 29th
Dec 26th
2 tags
Ethics Of Robotics In Warfare →
Excellent read - written like a one-way conversation instead of a dry article. Lots of interesting things to think about.
Dec 20th
Chains - Forming Good Habits →
Dec 20th
2 tags
Automatically Rip DVDs
Tonight I spent some time figuring out how to rip some of our DVDs to our Mac Mini. I’ve used HandBrake in the past and it used to be a manual thing - insert a dvd, use HandBrake, tweak some settings, select output folder, start the thing and walk away. We’re wanting to do ALL of our DVDs, so I figured I better automate it so that it’s as simple as shoving a disc in, waiting an...
Dec 20th
2 notes
Comparison of different SQL implementations →
Dec 14th
Show Hidden Files In OS X Finder →
defaults write com.apple.Finder AppleShowAllFiles YES
Dec 14th
1 tag
Vim Revisited →
I have found that using Vim for quick edits to a file is incredibly fast for me. I feel like there’s a lot of potential there, but I’ve had a hard time adopting it. This article is a nice “re-re-introduction” to Vim.
Dec 12th
5 notes
PHP Sadness →
Dec 5th
November 2011
8 posts
Gain Fitness - Workout Calculator →
Nov 22nd
An Introduction to Stock & Options →
Nov 20th
Front-end Code Standards →
Nov 18th
Nov 17th
CSS Documentation →
Nov 11th
2 tags
Tarsnap - S3 Backups →
Nov 6th
http://www.kk.org/cooltools/ →
Nov 3rd
3 tags
Nov 2nd
October 2011
10 posts
3 tags
Customizing OS X - GeekTool →
Display iTunes current track with apple script.
Oct 31st
Don't Call Yourself A Programmer →
Dear Self, Read this again. Sincerely, Self
Oct 29th
4 tags
Static IPs in VMware Fusion →
I have had to look this shit up four times now. It’s a shame this isn’t a configurable thing in the Fusion UI. Reproduced in case source goes away: Log into your VM, and type ifconfig -a | grep HWaddr | awk ‘{print $5}. That will spit out a string that looks something like “00:0c:29:f8:9d:61”. This string is your VM’s MAC address that uniquely identifies this VM when it...
Oct 27th
Sheep, Wolves and Sheepdogs →
Oct 25th
I am rediscovering 50 Cent. Awesome.
Oct 24th
Kind, True and Necessary →
Oct 16th
Multithreaded Application Development →
This article describes the exact problems we experienced when developing Avalon. Very good explanation on the trials and tribulations of multi-threaded application development.
Oct 11th
The Treacherous Optimization: Grep →
Oct 11th
“if stored procedures were a girl i would eat her out and for five days I...”
– joseph
Oct 5th
1 tag
Archive The Hit List completed tasks →
you can also use the backquote (`) key to archive completed tasks Awesome.
Oct 5th
September 2011
5 posts
How to Buy Land Very Cheaply →
Sep 28th
1 tag
Videotaping Police Is A Constitutional Right →
Sep 27th
1 note
1 tag
Twisted Introduction →
Sep 26th
3 tags
Sending mail with postfix, Gmail and OS X →
Very simple way of sending mail via gmail on OS X.
Sep 16th
11 notes
BlueForest - A dark color scheme for IntelliJ IDEA →
Sep 1st