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
| $ sudo vi /etc/apt/sources.list | |
| $ sudo apt-get update | |
| $ sudo apt-get install ec2-api-tools | |
| $ ec2-describe-snapshots -K your-private-key.pem -C cour-cert.pem | sort -r -k 5 | sed 1,6d | awk '{print "Deleting snapshot: " $2}; system("ec2-delete-snapshot -K your-private-key.pem -C your-cert.pem " $2)' |
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
| /** The name of the database for WordPress */ | |
| if ( getenv('DB_NAME')) | |
| define('DB_NAME' , getenv('DB_NAME')); | |
| else | |
| define('DB_NAME', 'YOUR-MAMP-DATABASE-NAME'); | |
| /** MySQL database username */ | |
| if ( getenv('DB_USER')) | |
| define('DB_USER' , getenv('DB_USER') ); | |
| else |
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
| $ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
| $ mate .profile | |
| [[ -s "/Users/micah/.rvm/scripts/rvm" ]] && source "/Users/micah/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
| $ rvm install 1.9.2 |
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/ruby | |
| require 'skeleton' | |
| class BuyThatBot < Skeleton | |
| def search | |
| debug "check for tweets since #{@config[:since_id]}" | |
| # | |
| # search twitter |
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
| $ mate /Applications/CrashPlan.app/Contents/Resources/Java/conf/ui.properties |
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
| #Fri Dec 09 09:50:22 CST 2005 | |
| #serviceHost=127.0.0.1 | |
| servicePort=4200 | |
| #pollerPeriod=1000 # 1 second | |
| #connectRetryDelay=10000 # 10 seconds | |
| #connectRetryAttempts=3 | |
| #showWelcome=true | |
| #font.small= | |
| #font.default= |
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
| $ ssh -i your.pem -L 4200:localhost:4243 user@your.servers.ip |
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
| $ tar -xvf CrashPlan_3.0.3_Linux.tgz | |
| $ sudo -s | |
| $ cd CrashPlan-install | |
| $ ./install.sh |
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
| $ sudo vi /etc/netatalk/AppleVolumes.default | |
| ~/ "$u" |
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
| $ sudo apt-get install netatalk | |
| $ sudo /etc/init.d/avahi-daemon restart |