See https://github.com/romainl/vim-rnb for an up-to-date version.
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
import csv | |
import json | |
import logging | |
import urllib2 | |
import urlparse | |
APP_ID = '' | |
APP_SECRET = '' | |
PERMISSIONS = ['user_about_me', 'email', 'user_events', 'rsvp_event', 'offline_access', 'publish_stream'] |
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 | |
# To run do: | |
# wget https://gist.github.com/raw/850359/ea02e22f021b7ebf2f602811461677ab4a3f2a9e/bootstrap.sh && chmod +x bootstrap.sh && ./bootstrap.sh && source ~/.profile | |
# | |
# Based on Amazon EC2 AMI ID ami-ccf405a5 Ubuntu Server 10.10 | |
# This script will: | |
# * install/config apache2 | |
# * install mod_wsgi | |
# * install/config nginx |