Skip to content

Instantly share code, notes, and snippets.

@s2t2
s2t2 / sublime_text_settings.json
Created April 18, 2015 01:03
my sublime text editor settings, for reference
{
"color_scheme": "Packages/Color Scheme - Default/Cobalt.tmTheme",
"font_size": 17.0,
"word_wrap":false,
"translate_tabs_to_spaces":true,
"tab_size":2
}
@s2t2
s2t2 / jwplayer_notes.js
Last active January 29, 2025 05:20
Learning jwplayer behavior.
jwplayer('player').setup({ ... });
//
// Q: under which conditions does jwplayer return the duration of the current video?
//
console.log(jwplayer('player').getState(), jwplayer('player').getDuration())
"IDLE" -1 // fail
jwplayer('player').play(true)
@s2t2
s2t2 / _README.md
Last active June 22, 2021 20:10
medicare "nursing home compare" data
@s2t2
s2t2 / README.md
Created June 17, 2015 03:51 — forked from mbostock/.block

Click to add new points. Hit the DELETE key to remove the selected point. Use the dropdown menu to change the interpolation mode.

@s2t2
s2t2 / .gitignore
Last active September 19, 2015 04:01
extract data from google drive spreadsheet (ruby). this has been made into a gem -- https://github.com/data-creative/google-sheet-reader-ruby
*.p12
*.json
@s2t2
s2t2 / food_inspection_data_standard.md
Last active September 12, 2015 16:01
Local Inspector Value-Entry Specification (LIVES) data standard -- source: http://www.yelp.com/healthscores -- this is soon to be made into an API available at http://www.opendatanetwork.com/

Local Inspector Value-Entry Specification (LIVES)

In 2012, Yelp partnered with the City of San Francisco and City of New York to develop the Local Inspector Value-Entry Specification (LIVES). LIVES is an open data standard which allows municipalities to publish restaurant inspection information to Yelp. Implementation

Any municipality may participate in this program. To begin this process, email us: [email protected]. Onboarding Steps

Follow the LIVES data specification to create a feed for your location.

AT&T MOBILE APP HACKATHON CONTEST General Terms and Conditions

• The AT&T Mobile App Hackathon Contest (“Hackathon”) is sponsored and administered by AT&T Mobility LLC (“AT&T”), 1025 Lenox Park Blvd. NE, Atlanta, GA 30319.

• Each Hackathon is subject to Official Rules. By participating in a Hackathon contestants agree to be bound by these General Terms and Conditions along with the Official Rules as well as all decisions of the judges and AT&T which are final and binding on all aspects of the Hackathon.

• Unless otherwise specified in the Official Rules, Hackathon contestants must be 18 years of age or older and legal residents of the United States. Employees, officers and directors of AT&T, Administrator, any prize supplier, and their respective parent companies, subsidiaries and affiliates and their advertising, promotion, and fulfillment agencies (the “Contest Parties”) are not eligible to enter or win. Immediate family members and household members of such individuals are also not eligible to enter or

@s2t2
s2t2 / README.md
Last active September 26, 2015 22:49
example npm and bower usage from a rails app

Install front-end dependencies specified by bower.json.

bower install

On production, instead of running bower install, run npm install, which should install bower and other dependencies specified in package.json.

<h1>Hi world</h1>