Skip to content

Instantly share code, notes, and snippets.

version: '2'
services:
roach-ui:
image: cockroachdb/cockroach:beta-20161215
command: start --insecure
ports:
- 8080:8080
networks:
- roachnet
"use strict";
var Hammer = require('hammerjs');
function capitalize(str) {
return str.charAt(0).toUpperCase() + str.slice(1);
}
function enumerateObjectKeys(obj, cb, ctx) {
var boundCb = ctx ? cb.bind(ctx) : cb;
@mailaneel
mailaneel / tryloop.php
Created September 5, 2012 15:14
Try Loop
while(!$success){
try{
again();
}//no exceptions
}