Skip to content

Instantly share code, notes, and snippets.

require 'formula'
class TmuxForIterm2 < Formula
url 'http://iterm2.googlecode.com/files/tmux-for-iTerm2-20120203.tar.gz'
sha1 'b0c78e3f142cc735f0518951c04eab947ca7c95b'
homepage 'http://code.google.com/p/iterm2/wiki/TmuxIntegration'
depends_on 'libevent'
def install
@mikebannister
mikebannister / meteor-time-test.html
Created April 27, 2012 22:55
Time seems to be off on meteor.com
<head>
<title>Time Test</title>
</head>
<body>
{{> time_test}}
</body>
<template name="time_test">
<h1>Time Test</h1>
var helloMiddleware = function(name) {
return 'Hello ' + + '!';
};
var hiMiddleware = function(name) {
return 'Hi ' + + '!';
};
var counts = {};
var countMiddleware = function(name) {
setTimeout(function() {
console.log(FOTOMOTO.API.isBasketEmpty()); // -> true
}, 1000);
setTimeout(function() {
console.log(FOTOMOTO.API.isBasketEmpty()); // -> true
}, 2000);
setTimeout(function() {
console.log(FOTOMOTO.API.isBasketEmpty()); // -> false
}, 3000);
setTimeout(function() {