Skip to content

Instantly share code, notes, and snippets.

View rkbodenner's full-sized avatar

Ralph Bodenner rkbodenner

View GitHub Profile
@rkbodenner
rkbodenner / full.plugin.list.txt
Created February 23, 2012 17:56 — forked from briandoll/full.plugin.list.txt
Full Plugin List Deployed in applications monitored by New Relic, September 2011
Full Plugin List Deployed in Rails applications monitored by New Relic, September 2011
Count Plugin Name
-------------------
2040 rpm
1534 newrelic_rpm
1268 acts_as_list
1186 paperclip
1130 will_paginate
1068 exception_notification
@rkbodenner
rkbodenner / hack.sh
Created April 7, 2012 03:51 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
#
# install it:
# curl -sL https://raw.github.com/gist/2324912/hack.sh | sh
#
echo "Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)"
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
@rkbodenner
rkbodenner / pre-commit.sh
Created September 11, 2012 16:41 — forked from intjonathan/pre-commit.sh
pre-commit hook (add to .git/hooks/pre-commit) to refuse to commit debugger strings
#!/bin/sh
# Refuse to commit files with the string NOCOMMIT, debugger, or merge markers present.
#
files=$(git diff-index --name-status --cached HEAD | grep -v ^D | cut -c3-)
if [ "$files" != "" ]
then
for f in $files
do