This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prereqs: | |
# * Ruby | |
# * gem install watchr | |
# Usage: | |
# copy autounit to php project directory | |
# run watchr autounit | |
watch('test/.*Test\.php') do |md| | |
puts "\e[H\e[2J" #clear console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace 'jsheckler' with your own User ID in the steps below. | |
Edit in /etc/sysconfig/hudson: | |
HUDSON_HOME="/home/jsheckler/.hudson" | |
HUDSON_USER="jsheckler" | |
HUDSON_PORT="8989" | |
then: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prereqs: | |
# * Ruby | |
# * gem install watchr | |
# Usage: | |
# copy autounit to php project directory | |
# run watchr autounit | |
watch('test/.*Test\.php') do |md| | |
puts "\e[H\e[2J" #clear console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export HISTCONTROL=ignoreboth | |
export HISTSIZE=5000 | |
export EDITOR="emacs --no-init-file --no-site-file --no-splash" | |
export SVN_EDITOR=$EDITOR | |
export RUBYOPT=rubygems |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 7/13/2012 | |
#################################### | |
sudo apt-get update | |
sudo apt-get upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(add-to-list 'load-path "~/.emacs.d/vendor/github/markdown-mode") | |
(autoload 'markdown-mode "markdown-mode.el" "Major mode for editing Markdown files" t) | |
(setq auto-mode-alist (cons '("\\.text" . markdown-mode) auto-mode-alist)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ru a/webapp/content/js/composer_widgets.js b/webapp/content/js/composer_widgets.js | |
--- a/webapp/content/js/composer_widgets.js 2010-02-26 16:12:54.000000000 +0000 | |
+++ b/webapp/content/js/composer_widgets.js 2010-09-15 07:03:56.000000000 +0000 | |
@@ -531,6 +531,7 @@ | |
{text: 'Line Width', handler: this.applyFuncToEachWithInput('lineWidth', 'Please enter a line width for this graph target')}, | |
{text: 'Dashed Line', handler: this.applyFuncToEach('dashed')}, | |
{text: 'Keep Last Value', handler: this.applyFuncToEach('keepLastValue')}, | |
+ {text: 'Fill Value', handler: this.applyFuncToEachWithInput('fillValue', 'Please enter a value to fill. Leave blank for 0', true)}, | |
{text: 'Substring', handler: this.applyFuncToEachWithInput('substr', 'Enter a starting position')} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# shell function to print graphite graphs as sparklines in the terminal | |
# needs https://github.com/holman/spark | |
# | |
function graphline() { | |
GRAPHITEHOST="graphite.example.com" | |
if [ ! -n "$1" ]; then print "Usage: $0 metric [minutes]"; return 1; fi | |
if [ ! -n "$2" ]; then MINUTES=10 ; else MINUTES=$2; fi | |
curl -s "${GRAPHITEHOST}/render?from=-${MINUTES}minutes&target=${1}&format=raw" | cut -d"|" -f 2 | spark ; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Noah Sussman's CentOS .profile | |
if [ "$SSH_TTY" ]; then | |
# If this is a remote session, then start screen | |
if [ "$TERM" != "screen" ]; then | |
screen -xRRU | |
if [ "$?" = "0" ]; then | |
reset | |
exit | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |