March 2012
2 posts
CamelCamelCamel.com: Amazon (and others) price... →
Decide.com: When to buy electronics. →
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.
Bash: $CDPATH →
Custom Styling Google Maps →
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...
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.
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
Memory Efficiency in Java →
January 2012
8 posts
Judge: Americans can be forced to decrypt their... →
Goodbye, Fifth Amendment.
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...
We have a legal system, not a justice system.
– tekrat
Designing Great API Docs →
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
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.
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...
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...
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.
Chains - Forming Good Habits →
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...
Comparison of different SQL implementations →
Show Hidden Files In OS X Finder →
defaults write com.apple.Finder AppleShowAllFiles YES
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.
PHP Sadness →
November 2011
8 posts
Gain Fitness - Workout Calculator →
An Introduction to Stock & Options →
Front-end Code Standards →
CSS Documentation →
2 tags
Tarsnap - S3 Backups →
http://www.kk.org/cooltools/ →
3 tags
October 2011
10 posts
3 tags
Customizing OS X - GeekTool →
Display iTunes current track with apple script.
Don't Call Yourself A Programmer →
Dear Self,
Read this again.
Sincerely,
Self
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...
Sheep, Wolves and Sheepdogs →
I am rediscovering 50 Cent. Awesome.
Kind, True and Necessary →
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.
The Treacherous Optimization: Grep →
if stored procedures were a girl i would eat her out and for five days I...
– joseph
1 tag
Archive The Hit List completed tasks →
you can also use the backquote (`) key to archive completed tasks
Awesome.
September 2011
5 posts
How to Buy Land Very Cheaply →
1 tag
Videotaping Police Is A Constitutional Right →
1 tag
Twisted Introduction →
3 tags
Sending mail with postfix, Gmail and OS X →
Very simple way of sending mail via gmail on OS X.
BlueForest - A dark color scheme for IntelliJ IDEA →