Skip to content

Instantly share code, notes, and snippets.

View zeekay's full-sized avatar
🔜

Zach Kelling zeekay

🔜
View GitHub Profile
@zeekay
zeekay / less2stylus.js
Last active August 29, 2015 14:15 — forked from cvan/less2stylus.js
// Usage : less2stylusDir('../src/css/');
var fs = require('fs');
// this less 2 stylus conversion script make a stylus easy to read syntax
// - let the braces
// - replace the @ for var as $
// - let semicolons
function less2stylus(less)
@zeekay
zeekay / rawr.py
Created February 6, 2012 10:10 — forked from Ivoz/rawr.py
import sys
import os
import fcntl
import gevent
from gevent import socket, queue
if __name__ == "__main__":
fcntl.fcntl(sys.stdin, fcntl.F_SETFL, os.O_NONBLOCK)
q = queue.Queue()
def rea():
@zeekay
zeekay / 2014-history.txt
Last active September 27, 2015 05:18 — forked from kennethreitz/history.txt
Most used commands, in order by usage, since last install
› history 1 | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn |head -n 20
338 vim
285 cd
104 rm
97 ack
96 git
82 brew
63 ssh
60 npm
59 v
@zeekay
zeekay / gist:1214650
Created September 13, 2011 18:43 — forked from rfreedman/gist:1214540
modified Mammal CoffeeScript example
class Mammal
constructor: (@species, @defining_char) ->
print: ->
"Hello I'm a #{@species}. I have #{@defining_char}."
cat = new Mammal 'cat', 'claws'
alert cat.print()