Skip to content
View .gitignore
*.p12
*.json
View init.coffee
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
View README.md

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

View jwplayer_notes.js
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)
View sublime_text_settings.json
{
"color_scheme": "Packages/Color Scheme - Default/Cobalt.tmTheme",
"font_size": 17.0,
"word_wrap":false,
"translate_tabs_to_spaces":true,
"tab_size":2
}
View text_reader.rb
require 'github_api'
github = Github.new
dir = github.repos.contents.get :user => 's2t2', :repo => 'text', :path => '/'
files = dir.map{|f|
github.repos.contents.get :user => 's2t2', :repo => 'text', :path => f.path.to_s
}
View get_hosted_feeds.sql
-- HOSTED FEEDS (row per feed)
SELECT
f.id AS feed_id
-- ,f.name AS feed_name
,f.source_url AS feed_source_url
,h.id AS host_id
,h.name AS host_name
,v.last_modified_at AS feed_last_modified_at
-- ,v.etag AS feed_last_modification_etag
,v.last_checked_at AS feed_last_checked_at
Something went wrong with that request. Please try again.