Skip to content

Instantly share code, notes, and snippets.

windmillium / gist:8794029
Created February 3, 2014 22:46
Count total money you've pledged on kickstarter projects, run this on your backer history page.
total = 0;
$.each($('.money'), function() {
total += parseInt(this.innerText.substring(1));
windmillium / gist:8467188
Created January 17, 2014 01:54
Script to bulk upload files to tumblr queue
#!/usr/bin/env ruby
# gem install tumblr_client
# use 'tumblr' command to generate security credentials
# fill in security info from the generated file at ~/.tumblr
# fill in the source directory and destintion directory
# fill in blogname
# script will upload a file then move it to the destination directory
require 'rubygems'
require 'tumblr_client'