Skip to content

Instantly share code, notes, and snippets.

View raytiley's full-sized avatar

Ray Tiley raytiley

View GitHub Profile
var get = Ember.get, set = Ember.set, doc = document;
var FastSelectComponent = Ember.Component.extend({
items: null,
valuePath: 'value',
labelPath: 'label',
value: null,
selected: null,
tagName: 'select',
@sandstrom
sandstrom / fast_select.js
Last active December 16, 2015 12:49
Faster Em.Select
// A static select where options aren't child-views but plain option tags.
// This implementation is currently much faster than Em.Select on large collections.
(function() {
// shortcuts
var set = Em.set, get = Em.get;
Em.FastSelect = Em.Select.extend({
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@raytiley
raytiley / nowplaying.php
Created November 12, 2010 02:11
nowPlaying.php Revambed
<?php
//Configure Script
$server = "http://frontdoor.ctn5.org/"; //include trailing backslash
$channelID = 1; //Cablecast Channel ID
$defualtSource = "Community Bulletin Board";
date_default_timezone_set("America/New_York");
//End Configure