THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| pm list packages -f |
| from html.parser import HTMLParser | |
| from urllib import request | |
| import os.path | |
| import re | |
| import json | |
| import sys | |
| class ImgListScraper( HTMLParser ): |
| # Usage: | |
| # [sudo] gem install mechanize | |
| # ruby tumblr-photo-ripper.rb | |
| require 'rubygems' | |
| require 'mechanize' | |
| # Your Tumblr subdomain, e.g. "jamiew" for "jamiew.tumblr.com" | |
| site = "doctorwho" |