- Install OS X 10.6
- Run System Updates
- Google Chrome Dev [download]
- Google Chrome Beta [download]
- The Unarchiver [download]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'geoip' | |
module Rack | |
# Rack::GeoIPCountry uses the geoip gem and the GeoIP database to lookup the country of a request by its IP address | |
# The database can be downloaded from: | |
# http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | |
# | |
# Usage: | |
# use Rack::GeoIPCountry, :db => "path/to/GeoIP.dat" | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ports='sudo lsof -iTCP -sTCP:LISTEN -P' | |
alias dnsflush='dscacheutil -flushcache' | |
alias git-add='git add -A' | |
alias dmesg="sudo dmesg" | |
alias l='ls -lrtha' | |
alias dir='ls -lh' | |
alias svnscrub='find . -name .svn -exec rm -rf {} \;' | |
alias vpnfix='sudo route -nv add -net 10 -interface utun0 && sudo route change default 10.0.1.1' | |
alias gitx='/Applications/GitX.app/Contents/MacOS/GitX &' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<title>omgsockets</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
var ws = new WebSocket('ws://localhost:3000'); | |
ws.onmessage = function(msg) { |
My current workstation toolchain environment was set up with the following, roughly in order.
-
Latest Xcode from Apple to get development tools.
-
A few nice things with Homebrew:
brew install git ack wget tmux sloccount ec2-ami-tools ec2-api-tools rds-command-line-tools