$8 top-shelf cocktails look as delicious as they taste
http://www.facebook.com/pages/Mister-Lews-Win-Win-Bar-Grand-Sazerac-Emporium/169898556394601
require 'parslet' | |
require 'pp' | |
class HTTPParser < Parslet::Parser | |
# | |
# Character Classes | |
# | |
rule(:digit) { match('[0-9]') } | |
rule(:digits) { digit.repeat(1) } | |
rule(:xdigit) { digit | match('[a-fA-F]') } |
HTTPS = require "https" | |
EventEmitter = require("events").EventEmitter | |
class Campfire extends EventEmitter | |
constructor: (options) -> | |
@token = options.token | |
@rooms = options.rooms.split(",") | |
@account = options.account | |
@domain = @account + ".campfirenow.com" | |
@authorization = "Basic " + new Buffer("#{@token}:x").toString("base64") |
require 'rubygems' | |
require 'activesupport' | |
require 'bad_ass_extensions' | |
require 'nokogiri' | |
require 'open-uri' | |
class GitHubber | |
attr_accessor :header, :name, :date, :date_string, :links, :post | |
def initialize(hash, post) |
$8 top-shelf cocktails look as delicious as they taste
http://www.facebook.com/pages/Mister-Lews-Win-Win-Bar-Grand-Sazerac-Emporium/169898556394601
[pod_services] [Fri, 22 Jul 2011 05:25:55 +0000] INFO: service[pod-services] not queuing delayed action create on ruby_block[pod-services] (delayed), as it's already been queued | |
: stdout | |
[pod_services] [Fri, 22 Jul 2011 05:25:55 +0000] INFO: service[pod-services] sending create action to ruby_block[pod-services] (delayed) | |
: stdout | |
[pod_services] [Fri, 22 Jul 2011 05:25:55 +0000] INFO: Processing ruby_block[pod-services] action create (pod-services::default line 55) | |
: stdout | |
[pod_services] Loaded suite /usr/local/bin/chef-solo | |
Started: stdout | |
[pod_services] | |
[pod_services] #<Class:0x00000001539f98>::ChefMiniTestRunner::DHCPTest#test_request: : stdout |
/* | |
Play entrance music | |
*/ | |
/* defining a new responder is probably the best way to insulate your hacks from Campfire and Propane */ | |
Campfire.EntranceMusician = Class.create({ | |
initialize: function(chat) { | |
this.chat = chat; | |
case $i in | |
(0) set -- ;; | |
(1) set -- "$args0" ;; | |
(2) set -- "$args0" "$args1" ;; | |
(3) set -- "$args0" "$args1" "$args2" ;; | |
(4) set -- "$args0" "$args1" "$args2" "$args3" ;; | |
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; | |
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; | |
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; | |
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; |
#!/usr/bin/env ruby | |
# | |
# Annotate your "bundle outdated" with GitHub compare URLs | |
# | |
require 'open-uri' | |
require 'json' | |
def rubygems_gem_info(gem_name) |
;(function($) { | |
document.addEventListener('click', function(event) { | |
if (event.metaKey || event.altKey) { | |
var link = $(event.target).closest('a[href]') | |
if (link.size()) event.stopPropagation() | |
} | |
}, true) | |
})(jQuery) |
// outdated | |
// see https://github.com/technoweenie/camo.go |