Skip to content

Instantly share code, notes, and snippets.

@edlin
edlin / async.coffee
Created July 17, 2012 18:17
coffee utils
###
Async.js is a collection of simple async patterns
built to combat callback hell
###
###
ASYNC SEQUENCE
Allows a user to define a sequence of async functions.
EXAMPLE:
async = require 'async'
@edlin
edlin / network
Created July 26, 2012 18:45
Unix commands
# passing a json in a curl request
curl -k -H "Content-Type: application/json" -X POST -d '{"data":{"cow": 5}}' https://localhost:8000/
@edlin
edlin / epel.repo
Created August 7, 2012 19:18
sysadmin dump
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0
# http://johnpoelstra.com/rhel-6-epel/
# for rhel 6