Skip to content

Instantly share code, notes, and snippets.

@tyrelsouza
tyrelsouza / generate_letterboxd_csv_from_vudu.js
Last active September 28, 2020 18:46 — forked from tiegz/generate_letterboxd_csv_from_vudu.js
Import VUDU rental history into a CSV format readable by Letterboxd.Currently only grabs up to 100 items.
// Run this in the browser bar: var el = document.createElement("script"); el.src=URL; document.body.appendChild(el);
//
// 1. Login to http://my.vudu.com
// 2. Run this script (if popups are blocked, temporarily unblock popups from Vudu in your browser)
// 3. Grab the downloaded CSV file, and load at http://letterboxd.com/import
//
// How it works: this script is inserted into the Vudu page via a bookmarklet, grabs your session key, and
// makes a call to Vudu's api. Then it parses the response and creates a CSV, which it then opens in a page as a data-uri.
function buildCSV(data) {
#!/usr/bin/env python
''' Get a list of out-of-date packages from a pip requirements.txt file. '''
import itertools
import json
import requests
import sys
import yaml

Developer Cheat Sheets

This are my cheat sheets that I have compiled over the years. Tired of searching Google for the same things, I started adding the information here. As time went on, this list has grown. I use this almost everyday and this Gist is the first bookmark on my list for quick and easy access.

I recommend that you compile your own list of cheat sheets as typing out the commands has been super helpful in allowing me to retain the information longer.

@tyrelsouza
tyrelsouza / plugin.py
Created April 27, 2012 03:59 — forked from anonymous/plugin.py
Da bikebot code
import bcrypt
import redis
import re, os
import urllib2
import json
import time
import datetime
import supybot.conf as conf
import supybot.utils as utils
from supybot.commands import *