$8 top-shelf cocktails look as delicious as they taste
http://www.facebook.com/pages/Mister-Lews-Win-Win-Bar-Grand-Sazerac-Emporium/169898556394601
// ========================================================================== | |
// Project: Ember - JavaScript Application Framework | |
// Copyright: ©2011-2012 Tilde Inc. and contributors | |
// Portions ©2006-2011 Strobe Inc. | |
// Portions ©2008-2011 Apple Inc. All rights reserved. | |
// License: Licensed under MIT license (see license.js) | |
// ========================================================================== | |
(function(a){var b={};window.Handlebars=b,b.VERSION="1.0.beta.2",b.helpers={},b.partials={},b.registerHelper=function(a,b,c){c&&(b.not=c),this.helpers[a]=b},b.registerPartial=function(a,b){this.partials[a]=b},b.registerHelper("helperMissing",function(a){if(arguments.length===2)return undefined;throw new Error("Could not find property '"+a+"'")}),b.registerHelper("blockHelperMissing",function(a,b){var c=b.inverse||function(){},d=b.fn,e="",f=Object.prototype.toString.call(a);f==="[object Function]"&&(a=a());if(a===!0)return d(this);if(a===!1||a==null)return c(this);if(f==="[object Arr |
.__ ___. .__ __ .__ .___ | |
| |__ _____ ______ ______ ___.__. \_ |__ |__|_______ _/ |_ | |__ __| _/_____ ___.__. | |
| | \ \__ \ \____ \ \____ \< | | | __ \ | |\_ __ \\ __\| | \ / __ | \__ \ < | | | |
| Y \ / __ \_| |_> >| |_> >\___ | | \_\ \| | | | \/ | | | Y \/ /_/ | / __ \_\___ | | |
|___| /(____ /| __/ | __/ / ____| |___ /|__| |__| |__| |___| /\____ | (____ // ____| | |
\/ \/ |__| |__| \/ \/ \/ \/ \/ \/ | |
_____ ___ ___ ___ ___ ___ | |
/ /::\ / /\ / /\ /__/\ /__/\ /__/| ___ | |
/ /:/\:\ / /:/_ / /:/_ \ \:\ \ \:\ | |:| / /\ | |
/ /:/ \:\ / /:/ /\ / /:/ /\ \ \:\ \ \:\ | |:| / /:/ |
# lulz - BRING THE LOLZ from bukk.it | |
Select = require("soupselect").select | |
HtmlParser = require "htmlparser" | |
util = require 'util' | |
module.exports = (robot) -> | |
robot.respond /l[ou]lz/i, (msg) -> | |
msg.http("http://bukk.it") | |
.get() (err, res, body) -> |
$8 top-shelf cocktails look as delicious as they taste
http://www.facebook.com/pages/Mister-Lews-Win-Win-Bar-Grand-Sazerac-Emporium/169898556394601
var fs = require('fs') | |
, path = require('path') | |
, base64 = require('base64') | |
var body = "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAKIAeYDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD+kxbCMxpmNRGIwRyf9o5OCxyRtzuBfDE5Jzm/b6dA5JVFVwxJKkgEMzsApAUlgOPmBCgqxG4MSsMiGJRuBOFZjwc5Y5PK |
Note these instructions are all based on the mightyOhm articles. This is a little bit different because I wanted to get alsa sound working (instead of dsp) so that I could overlay effects | |
and background sound simultaneously. | |
What to do | |
========== | |
install mightyohm trx | |
setup network and wireless | |
vi /etc/opkg.conf | |
src/gz snapshots http://192.168.24.104/mightyohm | |
opkg update |
app.error (err,req,res,next)-> | |
if process.env.RACK_ENV == 'production' | |
hoptoad.key = 'hoptoadkey' | |
hoptoad.notify(err) | |
res.render 'error.ejs', 500 |
module Things | |
get '/' do | |
'Hello!' | |
end | |
end | |
module Keister | |
class App < Sinatra::Base | |
include Things |
# What is the best way to get it to put out a, b, c | |
# without erroring about the superclass. The module | |
# inclusion order should not matter. In other words, | |
# I should be able to include A then B or B then A | |
# and either way all the letters a, b, and c are | |
# printed out (though not necessarily in that exact order) | |
require 'pp' | |
module Z |
var sys = require('sys'), | |
http = require('http'), | |
spawn = require('child_process').spawn | |
function passAll(callback) { | |
callback() | |
} | |
function passAfterRequest(callback) { | |
var node = http.createClient(80, 'nodejs.org'); |