Skip to content

Instantly share code, notes, and snippets.

@windmillium
windmillium / gist:8467188
Created Jan 17, 2014
Script to bulk upload files to tumblr queue
View gist:8467188
#!/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'
@windmillium
windmillium / gist:8794029
Created Feb 3, 2014
Count total money you've pledged on kickstarter projects, run this on your backer history page.
View gist:8794029
total = 0;
$.each($('.money'), function() {
total += parseInt(this.innerText.substring(1));
});
console.log(total);
You can’t perform that action at this time.