I hereby claim:
- I am ussjoin on github.
- I am ussjoin (https://keybase.io/ussjoin) on keybase.
- I have a public key whose fingerprint is EC97 0930 4C74 2AC6 817C 2EBF FEAF AE8F B58E DA54
To claim this, I am signing this object:
This file contains hidden or 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
eschaton:~ ussjoin$ echo $PATH | |
/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin:/usr/local/opt/ruby/bin:/usr/local/opt/ruby193/bin | |
eschaton:~ ussjoin$ echo $PYTHONPATH | |
/usr/local/lib/python2.7/site-packages: | |
eschaton:~ ussjoin$ brew doctor | |
Your system is ready to brew. | |
eschaton:~ ussjoin$ brew HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install pyqwt 2>&1 | |
Error: Unknown command: HOMEBREW_MAKE_JOBS=1 | |
eschaton:~ ussjoin$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install pyqwt 2>&1 | |
==> Downloading http://downloads.sourceforge.net/project/pyqwt/pyqwt5/PyQwt-5.2.0/PyQwt-5.2.0.tar.gz |
Drift is an always-already versioned, cloud-backed text editor. You can use it to take notes, and save them in the GitHub cloud.
Your gists are always saved locally, and any changes you make will get pushed to GitHub's servers.
To name a gist, touch its name in the toolbar.
You can use the share button at the top-right to copy a link to one of your gists, or view it on the web in Safari.
This file contains hidden or 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
import processing.opengl.*; | |
HashMap<String, String> date = new HashMap<String, String>(); | |
HashMap<String, String> license = new HashMap<String, String>(); | |
HashMap<String, Integer> zip = new HashMap<String, Integer>(); | |
float[][] ziplookup = new float[100000][2]; | |
int[] zipbucket = new int[100000]; | |
void setup() | |
{ |
This file contains hidden or 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
import processing.opengl.*; | |
String[] lines; | |
void setup() | |
{ | |
size(1024,768, OPENGL); | |
lines = loadStrings("CO.dat"); | |
noLoop(); | |
} |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>USSJoin subscriptions in Google Reader</title> | |
</head> | |
<body> | |
<!-- | |
Blogs I read of personal friends-- Philosophy Walker (AW '04), Yujie Wang, etc. |
This file contains hidden or 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
# Script to calculate how many bytes of text I eat per day from my Google Reader | |
# subscriptions. | |
use strict; | |
use XML::Feed; | |
open(OPML, "<google-reader-subscriptions.xml"); | |
my @lines = <OPML>; | |
close(OPML); |
This file contains hidden or 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
# Getting the most recent, and 800th most recent, Tweets from my timeline | |
wget "http://twitter.com/statuses/friends_timeline.atom?count=200&page=1" --http-user=XXX --http-password=XXX | |
wget "http://twitter.com/statuses/friends_timeline.atom?count=200&page=4" --http-user=XXX --http-password=XXX |
This file contains hidden or 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
import java.util.regex.*; | |
public class Test | |
{ | |
public static void main(String[] args) | |
{ | |
String haystack = "<script>Bad</SCRIPT>Good"; | |
String stripHTMLPattern = "<script.+?</script>"; |
NewerOlder