most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
# This custom task for deploying a Symfony 2 application is set to run after deploy:setup | |
# is executed. It interactively ask a user for database details to create a parameters.ini | |
# thus avoiding having to manually on to the server and create it | |
# | |
# Helper function from http://stackoverflow.com/a/1662001/1041885 | |
# | |
# Interactive parameter.ini generation adapted from http://adurieux.blogspot.co.uk/2011/10/using-capistrano.html | |
# ... | |
# ... Your deployment settings/tasks |
# Configuration. | |
date=`date +%Y-%m-%d` | |
bk_dest='/var/archives/mysql' | |
log_file=$bk_dest/bk_mysql-${date}.log | |
mysql_cmd='/usr/bin/mysql' | |
mysqldump_cmd='/usr/bin/mysqldump' | |
dbuser=root | |
dbpass=`cat /etc/.mysqlpasswd` | |
var faye = require('faye'), | |
sys = require('sys'); | |
var client = new faye.Client('http://127.0.0.1:8000/faye'); | |
client.subscribe('/messages', function(message) { | |
// This should never run due to server-side extension | |
sys.puts(sys.inspect(message)); | |
}); |
/*! | |
* jQuery TextChange Plugin | |
* http://www.zurb.com/playground/jquery-text-change-custom-event | |
* | |
* Copyright 2010, ZURB | |
* Released under the MIT License | |
*/ | |
(function ($) { | |
$.event.special.textchange = { |