I hereby claim:
- I am cscheid on github.
- I am cscheid (https://keybase.io/cscheid) on keybase.
- I have a public key ASCbHGh8DWbPaMRsAqX3jKu2t6uySLoIHP3RpjNWw7XvNQo
To claim this, I am signing this object:
The following syntax for options is accepted (both '-' and '--' are ok): | |
--flag (bool flags only) | |
--no-flag (bool flags only) | |
--flag=value (non-bool flags only, no spaces around '=') | |
--flag value (non-bool flags only) | |
-- (captures all remaining args in JavaScript) | |
Options: | |
--abort-on-contradictory-flags (Disallow flags or implications overriding each other.) | |
type: bool default: --no-abort-on-contradictory-flags |
I hereby claim:
To claim this, I am signing this object:
license: gpl-3.0 |
setwd("~/Downloads") | |
obs <- XML2Obs("out.xml", url.map=TRUE) | |
unique(names(obs)) #you might want to re_name or add_key before collapsing | |
tmp = add_key(obs, parent="url1//osm//way", key.name="way_id") | |
tmp = add_key(tmp, parent="url1//osm//node", key.name="node_id") | |
tmp = add_key(tmp, parent="url1//osm//relation", key.name="relation_id") | |
tables <- collapse(obs) # holy crap this takes a long-ass time | |
write.table(tables$`url1//osm//way//nd`, "ways.csv", sep=",") | |
write.table(tables$`url1//osm//way//tag`, "way_tags.csv", sep=",") | |
write.table(tables$`url1//osm//node`, "nodes.csv", sep=",") |
#!/usr/bin/env python | |
import sys | |
import math | |
chosen = set() | |
def choose(n, k): | |
return math.gamma(n+1) / (math.gamma(k+1) * math.gamma(n-k+1)) | |
def yield_all_choices(n, k): |
the content. |
function sequence_(lst) | |
{ | |
function do_it(i) { | |
if (i === lst.length) | |
return; | |
lst[i](function() { | |
do_it(i+1); | |
}); | |
} | |
do_it(0); |
If you use a hard-to-find patched powerline font such as Monaco like I do, the patch above will help you by reverting the latest glyph moves.
Use it like this:
$ cd .oh-my-zsh/themes
$ patch -p2 < unbreak_powerline.patch
Restart Terminal, iterm2, or whatever you use, and your powerline font should be working again.
Area State,Area Type,Area,City,Date,LAUS Code,State,Area FIPS Code,Employed,Labor Force,Month,State FIPS Code,Unemployed,Unemployment Rate,Year | |
ME,Met NECTA,Portland-South Portland-Biddeford,Portland,1/1/2000,MT237675,ME,76750,184223,189622,1,23,5399,2.8,2000 | |
ME,Met NECTA,Bangor,Bangor,1/1/2000,MT237075,ME,70750,64191,66618,1,23,2427,3.6,2000 | |
ME,Met NECTA,Lewiston-Auburn,Lewiston,1/1/2000,MT237465,ME,74650,52934,54950,1,23,2016,3.7,2000 | |
MA,Met NECTA,Pittsfield,Pittsfield,1/1/2000,MT257660,MA,76600,37117,38301,1,25,1184,3.1,2000 | |
MA,Met NECTA,Leominster-Fitchburg-Gardner,Leominster,1/1/2000,MT257450,MA,74500,71032,73398,1,25,2366,3.2,2000 | |
MA,Met NECTA,Barnstable Town,Barnstable Town,1/1/2000,MT257090,MA,70900,121657,125999,1,25,4342,3.4,2000 | |
MA,Met NECTA,New Bedford,New Bedford,1/1/2000,MT257555,MA,75550,79221,82833,1,25,3612,4.4,2000 | |
MA-CT,Met NECTA,Worcester,Worcester,1/1/2000,MT257960,MA,79600,273295,281124,1,25,7829,2.8,2000 | |
MA-CT,Met NECTA,Springfield,Springfield,1/1/2000,MT257810,MA,78100,326271,336515,1, |