Skip to content

Instantly share code, notes, and snippets.

@wesleybliss
wesleybliss / dropshot.py
Created July 15, 2017 18:17 — forked from grieve/dropshot.py
Simple hack to use gnome-screenshot and dropbox to upload quick public screenshots - required libnotify-bin for notifications
#!/usr/bin/python
import gtk
import simplejson
import urllib2
import subprocess
import datetime
import string
import random
import time
// Restify Server CheatSheet.
// More about the API: http://mcavage.me/node-restify/#server-api
// Install restify with npm install restify
// 1.1. Creating a Server.
// http://mcavage.me/node-restify/#Creating-a-Server
var restify = require('restify');