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
#!/bin/bash | |
WGET_V=1.11.4 | |
RUBY_V=1.8.7-2010.01 | |
RUBY_REL=68719 | |
NGINX_V=0.8.32 | |
GIT_V=1.6.5.5 | |
GIT_USER=dirkkelly | |
GIT_EMAIL=dk@dirkkelly.com |
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
worker_processes 1; | |
pid /opt/nginx/logs/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
passenger_root /opt/gems/gems/passenger-2.2.9; | |
passenger_ruby /opt/ruby/nginx_wrapper; |
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 RAILS_ENV='development' | |
export GEM_HOME='/opt/gems' | |
export GEM_PATH='/opt/gems' | |
PATH='/opt/ruby/current/bin:/opt/gems:/opt/gems/bin:/opt/nginx/current/sbin:/opt/git/current/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin' | |
function nginx_start() { | |
sudo /opt/nginx/sbin/nginx | |
} | |
function nginx_reload() { |
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
Event.onReady(function() { | |
$$('textarea').each(function(inputElement) { | |
var textarea = inputElement; | |
var initialHeight = textarea.getHeight(); | |
var currentHeight = -1; | |
var currentTimer = false; | |
var div = $div({id: textarea.id + '_hidden'}); | |
textarea.insert({'after': div}); | |
div.setStyle({'display' : 'none', |
NewerOlder