- Sketti N' Salad al Bryan, sous/dishes: Marshall
- Gnocchi (Sweet Potato/reg) a la Sam, sous/dish (Rebekah/Ben)
- Pho/Teryaki planet/etc
- Bfast. Burrito Prep for:
| /* | |
| * This decorates Handlebars.js with the ability to load | |
| * templates from an external source, with light caching. | |
| * | |
| * To render a template, pass a closure that will receive the | |
| * template as a function parameter, eg, | |
| * T.render('templateName', function(t) { | |
| * $('#somediv').html( t() ); | |
| * }); | |
| * Source: https://github.com/wycats/handlebars.js/issues/82 |
| function resolve(cb, res){ | |
| $.when(res).then(cb) | |
| } | |
| //usage: | |
| function definePurpleEventually(cb){ | |
| setTimeout(function(){ | |
| cb({ | |
| purple: "color" | |
| }) |
| source 'https://rubygems.org' | |
| gem 'activerecord' | |
| gem 'pg' | |
| gem 'binding_of_caller' | |
| gem 'pry' |
| var watch = require('watch'); | |
| module.exports = function MyObject (){ | |
| } | |
| MyObject.prototype.printMe = function(){ | |
| console.log(JSON.stringify(this)); | |
| } | |
| watch(MyObject.prototype, function(name, args){ |
| hammerEvents: { | |
| 'tap .share': 'handleShareClick', | |
| 'tap img, .dismiss': 'close' | |
| }, |
| #!/bin/env python | |
| class ExpirationInterface(): | |
| def setExpiration(self,value): | |
| setattr(self,self.expiration_property,value) | |
| def getExpiration(self): | |
| getattr(self,self.expiration_property) | |
| class Principal( BaseClass, ExpirationInterface ): |
| var types = { | |
| 'winner': { | |
| trigger: 'quiz-end' | |
| conditions: { | |
| place: 'first only' | |
| }, | |
| img_file: 'winner.png' | |
| }, | |
| 'first_loser':{ | |
| trigger: 'quiz-end' |
| module.exports = function(item){ | |
| var $list = $('<ul>').attr('style', 'disc').append($.map(items, function(v,i){ | |
| return $("<li>").attr('id', 'demo_' + v.id).addClass('demo-remove-item').append($('<a>') | |
| .add_class(v.link_class).append( | |
| $('<span>').addClass('glyphicon') //... | |
| )); | |
| })); | |
| } |
| #!/usr/bin/env ruby | |
| # Boot an FTP server | |
| # | |
| # Usage: | |
| # | |
| # em-ftpd config.rb | |
| require 'em-ftpd' |