Skip to content

Instantly share code, notes, and snippets.

View whitni's full-sized avatar

Whitni whitni

View GitHub Profile
@whitni
whitni / README.md
Last active December 20, 2017 14:44 — forked from hofmannsven/README.md
MySQL Command Line Cheatsheet
@whitni
whitni / docnow_error
Created December 12, 2017 00:17
Copy of feedback when installing DocNow on Ubuntu Xenial, Digital Ocean server.
app_1 | ::ffff:24.34.161.211 - - [12/Dec/2017:00:13:31 +0000] "GET /auth/twitter/ HTTP/1.1" 500 148 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"
app_1 | Error: Unknown authentication strategy "twitter"
app_1 | at attempt (/code/node_modules/passport/lib/middleware/authenticate.js:173:37)
app_1 | at authenticate (/code/node_modules/passport/lib/middleware/authenticate.js:349:7)
app_1 | at Layer.handle [as handle_request] (/code/node_modules/express/lib/router/layer.js:95:5)
app_1 | at next (/code/node_modules/express/lib/router/route.js:137:13)
app_1 | at Route.dispatch (/code/node_modules/express/lib/router/route.js:112:3)
app_1 | at Layer.handle [as handle_request] (/code/node_modules/express/lib/router/layer.js:95:5)
app_1 | at /code/node_modules/express/lib/router/index.js:281:22
app_1 | at Function.process_params (/code/node_m
@whitni
whitni / nbastats.rb
Created September 10, 2015 14:41
NBA Statistics sonified in Sonic Pi
# Welcome to Sonic Pi v2.6
require 'csv'
data = CSV.parse(File.read("/Users/wwatkins/Documents/NBA.csv"), {:headers => true, :header_converters => :symbol})
in_thread do
data.each do |line|
#looking at conference column, east or west
conf = line[:conference].to_s
puts conf
mysample = ""

Keybase proof

I hereby claim:

  • I am whitni on github.
  • I am whitni (https://keybase.io/whitni) on keybase.
  • I have a public key whose fingerprint is AD31 7C1D 3FA1 2F1D 1F36 DBE5 C906 DA15 BD1A 6EB6

To claim this, I am signing this object: