View gist:1429696
'a' | |
'ba' | |
'pa' | |
'ma' | |
'fa' | |
'da' | |
'ta' | |
'na' | |
'la' | |
'ga' |
View pymacy
#!/usr/bin/env python | |
# Steve Jackson - Macy's script for Milo! | |
# example usage: | |
# ./pymacy 94404 'http://www.macys.com/catalog/product/index.ognc?ID=355333' | |
import sys | |
import urllib2 | |
import urllib | |
import json |
View fb-photo-fetch.rb
# Ruby script to grab photos tagged of yourself on facebook and download them. | |
# Go to the Graph API explorer (http://developers.facebook.com/tools/explorer) | |
# and generate an access token with the permissions you need (user_photos, user_photo_video_tags) | |
# and use that access token here. | |
require 'json' | |
require 'net/http' | |
def fetch(output_dir, username, photo_limit, access_token) |