tags | author | date | title | ||||
---|---|---|---|---|---|---|---|
|
Moacir P. de Sá Pereira |
2017-07-07 |
Markdown Cheat Sheet |
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
# citibike stations: http://appservices.citibikenyc.com/v1/station/list | |
# Save this json file as "citibikestations.json" | |
# The result is a file called "citibikestations.geojson," which Qgis will read with no trouble. Leaflet too. | |
require 'json' | |
bike_stations = JSON.parse(File.read('citibikestations.json')) | |
geojson_array = bike_stations["results"].map do |p| | |
{ "type" => "Feature", | |
"geometry" => { | |
"type" => "Point", | |
"coordinates" => [p["longitude"], p["latitude"]] |
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
#! /bin/sh | |
# This is a barebones and super brittle script by Moacir P. de Sá Pereira | |
# (@muziejus on GitHub) for installing part of the Stanford NLP library to a | |
# DHBox (http://dhbox.org) | |
# First, we need to upgrade Java | |
# from: http://stackoverflow.com/questions/30177455/moving-from-jdk-1-7-to-jdk-1-8-on-ubuntu | |
# Newer versions of java *are* available |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# This is a ruby port of Long Qian's: | |
# | |
# https://github.com/qian256/qian256.github.io/blob/master/tag_generator.py | |
# | |
# which is a python script that accompanies this useful webpage on creating | |
# tags for Jekyll without plugins: | |
# | |
# http://longqian.me/2017/02/09/github-jekyll-tag/ | |
# | |
# This Rakefile uses Jekyll's internals to generate the list, as opposed to |
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
{"users":[{"email":"mds17@nyu.edu","password":"asdf","age":12},{"email":"moacir@uchicago.edu","password":"qwer","age":"23"},{"email":"taylorswift@taylorswift.com","password":"taytay","age":"29"},{"email":"Joe.biden@aol.com","password":"ishouldverun","age":"75"},{"email":"hi-im@29.years.old","password":"liketaylor","age":"29"},{"email":"a@baby.com","password":"justababy","age":"2"},{"email":"andrew@carnegie.com","password":"learnearngive","age":"182"}]} |
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
Greetings from Postman! |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Rank,Name,Type,Smoothness,Smudging,Bleed-through,Feel,Looks,Price/ | |
100,Pilot Fineliner,Felt-tip,1,3,3,3,2,$1.50 | |
99,Pentel Arts Slicci 0.25mm. Extra Fine,Gel,1,5,3,2,3,$2.25 | |
98,Uni-ball Jetstream,Ballpoint,4,3,3,3.5,1,$3.00 | |
97,Pilot Metropolitan,Fountain,1.5,3,4,3,3.5,$13.00 | |
96,Pentel RSVP RT,Ballpoint,3,5,4,2,1,$1.50 | |
95,Koh-I-Noor Rapidograph,Fountain,2,2,4.5,3,4,$25.00 | |
94,Staedtler Pigment Liner,Felt-tip,1,5,5,3,2,$1.67 | |
93,Staedtler Lumocolor Permanent,Felt-tip,2,5,1,4,4,$2.10 | |
92,Pilot G2 Ultra Fine,Gel,2,5,5,2,2,$1.08 |
OlderNewer