http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/Vagrant-1.2.3.dmg http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/Vagrant_1.2.3.msi http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/vagrant_1.2.3_i686.deb http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/vagrant_1.2.3_i686.rpm http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/vagrant_1.2.3_x86_64.deb http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/vagrant_1.2.3_x86_64.rpm
This file contains hidden or 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
find $(brew --prefix)/Library/Formula -type l | for symlink in $(cat -); do readlink $symlink | grep phinze-cask | grep -v brew-cask > /dev/null && rm -v $symlink; done |
This file contains hidden or 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
BREW_CASK_PREFIX = `brew --prefix brew-cask`.chomp | |
$LOAD_PATH << File.join(BREW_CASK_PREFIX, 'rubylib') | |
require 'cask' | |
module CaskCategories | |
CATEGORIES = { | |
'adium' => 'chat', | |
'rdio' => 'music', | |
'firefox' => 'browser', |
This file contains hidden or 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
tell application "Finder" | |
set the appfiles to files in folder (POSIX file "/tmp/somefolder" as text) | |
repeat with appfile in appfiles | |
delete appfile | |
end repeat | |
end tell |
This file contains hidden or 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
# config/deploy.rb | |
$: << File.expand_path('../../lib', __FILE__) | |
require 'capistrano_hacks/reverse_tunnel' | |
set :scm, :git | |
set :local_repository, '.' | |
set :reverse_tunnel_port, 52222 | |
set :repository, Capistrano::Hacks.tunneled_repository_url(self) | |
set :ssh_options, { :forward_agent => true } |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'highline' | |
def ask(question) | |
HighLine.new.ask(question) { |q| q.echo = '*' } | |
end | |
if ENV['AWS_SHELL'] |
This file contains hidden or 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
config.after_initialize do | |
# Set Time.now to September 1, 2008 10:05:00 AM (at this instant), but allow it to move forward | |
t = Time.local(2008, 9, 1, 10, 5, 0) | |
Timecop.travel(t) | |
end |
This file contains hidden or 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
#!/bin/sh | |
## set up postgres (in this case 9.0 from macports | |
export PGCTL=/usr/local/bin/pg_ctl | |
export PGDATA=/Volumes/pgtmp/postgres | |
case $1 in | |
start) | |
## Make a RAM filesystem | |
diskutil erasevolume HFS+ "pgtmp" `hdiutil attach -nomount ram://1048576` |
This file contains hidden or 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
class FooDog | |
def bark(loud=false) | |
if loud | |
puts "BARK" | |
else | |
puts "bark" | |
end | |
end | |
end |
This file contains hidden or 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
. | |
├── Entitlements.plist | |
├── PLCrashReporter.h | |
├── Sparrow-main.a | |
├── app | |
│ └── Sparrow.app | |
│ ├── 1sur3.png | |
│ ├── [email protected] | |
│ ├── 1sur4.png | |
│ ├── [email protected] |