Skip to content

Instantly share code, notes, and snippets.

module Ext
module String
def self.included(base)
base.class_eval do
include InstanceMethods
end
end
module InstanceMethods
def br_to_return
@marugoshi
marugoshi / create_mongodb_launch_item.sh
Created May 8, 2010 06:19
Create MongoDB Launch Item (for blog)
#!/bin/sh
#
# MongoDB OSX Launch Item
#
# usage: sudo ./install.sh
#
# initialize
DAEMON_PATH=`which mongod`