Skip to content

Instantly share code, notes, and snippets.

View scottpham's full-sized avatar

Scott Pham scottpham

View GitHub Profile
@scottpham
scottpham / .block
Created May 31, 2017 21:14
fresh block
license: mit
@scottpham
scottpham / 0_reuse_code.js
Created April 6, 2016 03:41
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#create new (empty) data frame for output
df <- data.frame()
#read source dataframe
sourceData <- read.csv("originals/rentBoard-clean.csv", stringsAsFactors = F)
#get max rows
maxRows <- nrow(sourceData)
for(i in 1:maxRows){
#subset row
gifify video.mp4 -o test.gif --from 00:01:07 --to 00:01:09 --resize 480:-1
@scottpham
scottpham / geo-by-numbers.json
Created November 18, 2014 06:31
geojson of adverse effects info but much smaller filesize
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.