Skip to content

Instantly share code, notes, and snippets.


Don Park donpdonp

View GitHub Profile
nickloewen /
Last active Nov 20, 2020
Bret Victor’s Reading List

This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.

Highly recommended things!

This is my five-star list. These are my favorite things in all the world.

A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★

frankamp / gist:5971164
Created Jul 10, 2013
arduino teensy3 + MPU-6050 accelerometer
View gist:5971164
/* LED Blink, Teensyduino Tutorial #1
This example code is in the public domain.
#include <Wire.h>
// Teensy 2.0 has the LED on pin 11
// Teensy++ 2.0 has the LED on pin 6
// Teensy 3.0 has the LED on pin 13
const int ledPin = 13;
selenamarie /
Last active Dec 11, 2015
This grabs URLs associated with the people you follow on Twitter and then tries to scrape RSS feeds from the URLs. You have to get OAUTH creds from to do this, and then register the script so that you get the access_token + access_token_secret. Rev 2 actually produces valid OPML. ;)
#!/usr/bin/env python
import tweepy
from BeautifulSoup import BeautifulSoup as parser
import urllib
import sys
import argparse
import ConfigParser
colindean / btc_bid_ask.rb
Created Jul 13, 2012
Quickly shows the most reasonable USD lowest asker and highest bidder from
View btc_bid_ask.rb
#!/usr/bin/env ruby
require "open-uri"
require "json"
#get the data
j = JSON.parse open("").read
#only USD, only active exchanges, and only where there's a bid and ask! {|x| x["currency"] == "USD" and x["volume"] > 0 and !x["ask"].nil? and !x["bid"].nil?}
#sort, need lowest ask and highest bidder
ask = j.sort {|x,y| x["ask"] <=> y["ask"]}
bid = j.sort {|x,y| x["bid"] <=> y["bid"]}
You can’t perform that action at this time.