Skip to content

Instantly share code, notes, and snippets.

Dru Nelson drudru

Block or report user

Report or block drudru

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@drudru
drudru / gem_env.sh
Created Aug 1, 2012 — forked from thinkerbot/gem_env.sh
Illustrates GEM_HOME vs GEM_PATH
View gem_env.sh
# Two ENV variables control the 'gem' command:
#
# GEM_HOME: the single path to a gem dir where gems are installed
# GEM_PATH: a standard PATH to gem dirs where gems are found
#
# A gem directory is a directory that holds gems. The 'gem' command will lay
# out and utilize the following structure:
#
# bin # installed bin scripts
# cache # .gem files ex: cache/gem_name.gem
@drudru
drudru / carbon-cache.conf
Created Apr 3, 2012 — forked from acdha/carbon-cache.conf
Upstart config for Graphite's carbon-cache daemon
View carbon-cache.conf
#!/etc/init/carbon-cache.conf
description "Carbon server"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
umask 022
expect daemon
respawn
@drudru
drudru / setup-statsd.sh
Created Mar 10, 2012 — forked from rw/setup-statsd.sh
Turn an Ubuntu 11.10 EC2 into a StatsD/Graphite server
View setup-statsd.sh
#!/bin/bash
#
# This is not quite point and shoot yet. I had to remove the default apache site
# and I had to chmod the db in storage
# add the /etc/httpd junk for mod_wsgi
# and the tmpfs for /tmp is good too
#
# Good additional links:
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/
# original graphite install:
View setting_up_a_new_remote_git_repository.textile

(a gist based on the old toolmantim article on setting up remote repos)

To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.

This is somewhat of a follow-up to the previous article setting up a new rails app with git.

For the impatient

Set up the new bare repo on the server:

You can’t perform that action at this time.