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
#!/bin/sh | |
source secrets.sh | |
for i in $(ls /path/to/directory/*.JPG) ; do | |
./openphoto -h yourhost -e /photo/upload.json -F "photo=@$i" -X POST; | |
done |
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
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 10/13/2011 | |
#################################### | |
sudo apt-get update | |
sudo apt-get upgrade |
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
ruleset a60x475 { | |
meta { | |
name "help-me-focus" | |
description << | |
puts focus in desired input boxes on sites that are being lame | |
>> | |
author "Mike Grace" | |
logging on | |
} |
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
meta { | |
name "TSA Customer Feedback" | |
description << | |
Customer Feedback Number | |
>> | |
author "Sam" | |
logging off | |
key twitter { | |
"consumer_key" : "REDACTED", |
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
# you need a Kynetx developer account | |
# and you have to create a Kynetx ruleset | |
# your hook (for your Twilio phone number) will be: | |
# http://webhooks.kynetx.com:3098/t/--appID--/callstart | |
# (replace --appID-- with your app ID such as a8x16 | |
# - or a8x16.dev to use the latest dev version of the ruleset) | |
# | |
# 2010-11-22 (rsbohn) Now with YAML! | |
# -- create kilter.yml in the same directory, then run kilter.rb | |
# -- sample YAML at the bottom of this file! |
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
$.ajax({ | |
dataType: "jsonp", | |
url: "http://api.stringbin.com/1/write?pin=t6BmN0Iw567L1MY&key=MikeGrace&value=creator", | |
success: function(data) { | |
$('body').append("<h1>Error Saving? "+data.error+"</h1>"); | |
} | |
}); |
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
$.ajax({ | |
dataType: "jsonp", | |
url: "http://api.stringbin.com/1/read?pin=t6BmN0Iw567L1MY&key=MikeGrace", | |
success: function(data) { | |
$('body').append("<h1>String: "+data.string+"</h1>"); | |
} | |
}); |
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
function defaultParams(name, class, id) { | |
if (class == null) class = "CS 101 [default]"; | |
if (id == null) id = "Not yet set"; | |
return "Name: " + name + ", Class: " + class + ", ID: " + id; | |
} |