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/bash | |
while true; do | |
if curl -silent -A "iMacAppStore/1.0.1 (Macintosh; U; Intel Mac OS X 10.6.7; en) AppleWebKit/533.20.25" 'http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewGrouping?id=29526&mt=12' | grep -i "mountain lion" ; then | |
echo "Available" | |
growlnotify -m "Mountain Lion is available" -t "App Store" | |
break | |
else | |
echo "Nada" | |
fi | |
sleep 120 |
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
# Google latitude backup | |
# | |
# This is a little helper to backup your location from Google Latitude to local disk. | |
# It saves data as JSON and as GPX. | |
# Usage is somewhat annoying: | |
# | |
# 1. get OACurl http://code.google.com/p/oacurl/ | |
# 2. follow the steps in http://code.google.com/apis/latitude/oacurl.html to get strarted | |
# You will have to register a domain with Google Apps and jump through hoops | |
# 3. Renerate a Key and a Secret for "installed applications" on the google API console, |
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
# cookbooks/chef/attributes/chef.rb | |
set_unless[:chef][:log_location] = "STDOUT" | |
set_unless[:chef][:log_level] = "info" | |
set_unless[:chef][:url_type] = "http" | |
set_unless[:chef][:server_fqdn] = "your-chef-server" | |
set_unless[:chef][:server_port] = "4000" | |
set_unless[:chef][:validation_client_name] = "chef-validator" | |
set_unless[:chef][:cache_path] = "/var/cache/chef" |
NewerOlder