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 python | |
#install the follow first: | |
#sudo easy_install pip | |
#sudo pip install -U boto | |
#sudo pip install configparser |
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/ruby | |
# Dropzone Destination Info | |
# Name: Jekyll Image Filer | |
# Description: Files images in a Jekyll repo | |
# Handles: NSFilenamesPboardType | |
# Creator: Brett Terpstra | |
# URL: http://brettterpstra.com | |
# IconURL: http://brettterpstra.com/destinations/icons/jekyllfiler.png | |
# OptionsNIB: ChooseFolder |
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 | |
echo "Caddy v 0.1 from Customer.io" | |
ENDPOINT="https://app.customer.io/api/v1/customers/" | |
SITEID="YOUR SITE ID" | |
APIKEY="YOUR API KEY" | |
INPUT=users.csv | |
OLDIFS=$IFS |
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
Surround these with : e.g. :calling: | |
+1 | |
-1 | |
bulb | |
calling | |
clap | |
cop | |
feet |
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 | |
# Fetches weather info from Google Weather API and Weather Underground API. | |
# Syntax: | |
# ./weather_grabber.rb [location] | |
# | |
# (c) 2010 Filip H.F. "FiXato" Slagter | |
# Licensed under Creative Commons Attribution-Share Alike 3.0 Unported License, http://creativecommons.org/licenses/by-sa/3.0/ | |
['rubygems','nokogiri','open-uri','yaml', 'iconv'].each {|lib| require lib} | |
if ARGV.size > 0 | |
location = ARGV.join(" ") |