This choropleth encodes unemployment rates from 2008 with a quantize scale ranging from 0 to 15%. A threshold scale is a useful alternative for coloring arbitrary ranges.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
# | |
# Moves all the files found by the glob into a new directory of the same name | |
# as the file (less its extension). Useful when you have a bunch of examples | |
# in one language and you need to introduce multiple sibling examples to sit | |
# alongside the file | |
# | |
# Example usage: | |
# $ ruby folderify.rb "smells/**/*.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir –p ~/src | |
cd ~/src | |
git clone git://git.gnupg.org/gnupg.git | |
cd gnupg | |
git status | |
git checkout STABLE-BRANCH-1-4 | |
cp /tmp/idea.c cipher/ | |
./autogen.sh --force | |
./configure --enable-maintainer-mode --enable-idea && make | |
make check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4r5e | |
5h1t | |
5hit | |
a55 | |
anal | |
anus | |
ar5e | |
arrse | |
arse | |
ass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'twitter' | |
user = "bongs" | |
query = /dongs/i | |
(1..16).each do |page| | |
Twitter.user_timeline(user, :page => page, :count => 200).each do |tweet| | |
puts tweet.id.to_s + ": " + tweet.text if query.match(tweet.text) | |
end |