adduser [username]
passwd [username]
adduser [username]
passwd [username]
require 'json' | |
require 'httparty' | |
require 'sqlite3-ruby' | |
def get_trips(line) | |
url = "http://developer.mbta.com/lib/rthr/#{line}.json" | |
JSON.parse(HTTParty.get(url).body) | |
end | |
puts "start" |
[ Launch: coloradowildfires ] 5753941 by joannecheng
# Text As Blueprint | |
# http://www.openprocessing.org/sketch/60986 | |
class TextAsBlueprint < Processing::App | |
def setup | |
size 600, 600 | |
@text_typed = "hello world, how are you doing today" | |
@centerX = width/2 | |
@centerY = height/2 | |
@shapeSpace = loadShape('data/space.svg') |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
path { | |
stroke: steelblue; | |
} | |
</style> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="http://d3js.org/topojson.v0.min.js"></script> |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
</style> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="http://d3js.org/topojson.v0.min.js"></script> | |
<script> | |
</script> |
This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.
You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf
using homebrew.
[ Launch: Tributary inlet ] 5366910 by jc-2
let g:ScreenImpl = 'Tmux' | |
function! CustomScreenSend() | |
silent! %s/\s\+$//e | |
silent! g/^$/d | |
ScreenSend | |
silent! normal! ggdG | |
endfunction |
This donut chart is constructed from a CSV file storing the populations of various age groups. The chart employs a number of D3 features: