Skip to content

Instantly share code, notes, and snippets.

View bobbydavid's full-sized avatar

Robert Martin bobbydavid

View GitHub Profile
@bobbydavid
bobbydavid / mongod.sh
Created April 29, 2012 20:27
Simple init.d script I wrote for starting/stopping mongod
#! /bin/sh
#
# Simple init.d script I wrote for starting/stopping mongod.
# Copyright (c) 2012 Robert Martin
#
# Filename: /etc/init.d/mongod
# (so rename it from mongod.sh to mongod)
#
### BEGIN INIT INFO
# Provides: mongod
@bobbydavid
bobbydavid / README.md
Last active August 29, 2015 14:17 — forked from mbostock/.block

Example illustrating zoom and pan with a "rolling" Mercator projection. Drag left-right to rotate projection cylinder, and up-down to translate, clamped by max absolute latitude. Ensures projection always fits properly in viewbox.