Skip to content

Instantly share code, notes, and snippets.

View zeekay's full-sized avatar
💎
👋

z zeekay

💎
👋
View GitHub Profile
modelist = require 'modelist'
modelist.connect 'mongodb://localhost/chromestore'
exports.App = modelist 'App',
guid:
type: String
index: true
unique: true
category: String
creator: String
modelist = require 'modelist'
modelist.connect 'mongodb://localhost/chromestore'
exports.App = modelist 'App',
guid:
type: String
index: true
unique: true
category: String
creator: String
Zombie: GET https://chrome.google.com/webstore/detail/amfalcbcdebaemokjapphcfnldiogddk/details => 200
Zombie: GET https://chrome.google.com/webstore/detail/gdiimmpmdoofmahingpgabiikimjgcia/details => 200
Zombie: GET https://chrome.google.com/webstore/static/1343683323/wall/js/webstore.js => 200
Zombie: GET https://www.google.com/jsapi => 200
Zombie: GET https://apis.google.com/js/plusone.js => 200
Zombie: Firing timeout after 1ms delay
Zombie: Firing timeout after 1ms delay
Zombie: Firing timeout after 1ms delay
Zombie: Firing timeout after 1ms delay
Zombie: Firing timeout after 1ms delay
require 'formula'
class Macvim < Formula
homepage 'http://code.google.com/p/macvim/'
url 'https://github.com/b4winckler/macvim/tarball/snapshot-64'
version '7.3-64'
md5 '5bdc0bc618b3179130f846f8d0f81283'
head 'https://github.com/b4winckler/macvim.git', :branch => 'master'
md = require('markdown').markdown
read = require('fs').readFileSync
app = require('die')
base: __dirname
app.inject require '../app2'
app.mount 'app3', require '../app3'
app.extend ->
@set 'view options'
#!/usr/bin/env coffee
# A very simple Read-Eval-Print-Loop. Compiles one line at a time to JavaScript
# and evaluates it. Good for simple tests, or poking around the **Node.js** API.
# Using it looks like this:
#
# coffee> console.log "#{num} bottles of beer" for num in [99..1]
# Start by opening up `stdin` and `stdout`.
stdin = process.openStdin()
stdout = process.stdout
die = require('die')
base: __dirname
app = die.createServer ->
@use '/app2', require 'app2'
@use '/app3', require 'app3'
@use '/app4', require 'app4'
module.exports = app
@zeekay
zeekay / gist:2891146
Created June 7, 2012 19:49
Smart Machine .bashrc
alias v=vim
PATH=$HOME/local/bin:$HOME/local/nodejs/bin:/opt/nodejs/bin:/usr/nodejs/bin:/opt/local/bin:/opt/local/sbin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin
MANPATH=$HOME/local/share/man:/opt/nodejs/share/man:/opt/local/man:/opt/local/share/man:/usr/share/man:/usr/sfw/share/man:/usr/openwin/share/man
PAGER=/usr/bin/less
LIBRARY_PATH=/home/node/local/nodejs/lib:/lib:/usr/lib:/opt/local/lib:/opt/gcc/lib
INCLUDE_PATH=/home/node/local/nodejs/include:/opt/local/include
C_INCLUDE_PATH=$INCLUDE_PATH
CPLUS_INCLUDE_PATH=$INCLUDE_PATH
NODE_PATH=$HOME/node_modules:$HOME/local/lib/node_modules:/opt/nodejs/lib/node_modules
PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:$HOME/local/nodejs/lib/pkgconfig
› ping 224.0.0.1
PING 224.0.0.1 (224.0.0.1): 56 data bytes
64 bytes from 192.168.1.22: icmp_seq=0 ttl=64 time=0.129 ms
64 bytes from 192.168.1.14: icmp_seq=0 ttl=64 time=0.264 ms
64 bytes from 192.168.1.8: icmp_seq=0 ttl=255 time=0.312 ms
64 bytes from 192.168.1.19: icmp_seq=0 ttl=64 time=0.505 ms
64 bytes from 192.168.1.17: icmp_seq=0 ttl=64 time=0.620 ms
64 bytes from 192.168.1.16: icmp_seq=0 ttl=64 time=0.633 ms
64 bytes from 192.168.1.15: icmp_seq=0 ttl=64 time=103.631 ms
64 bytes from 192.168.1.6: icmp_seq=0 ttl=64 time=108.384 ms
this.x = 42
this.y = 11
console.log(y);