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
$('#image-select-all').click(function() { | |
$('#image-grid .image').each(function(){ | |
$(this).trigger('selected'); | |
}); | |
console.log("clicked > image-select-all to trigger > click.selected") | |
console.log($('#image-grid .image')) | |
}); | |
$('#image-select-none').click(function() { | |
$('#image-grid .image').each(function(){ | |
$(this).trigger('unselected'); |
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
# Optional more complicated strat for the database.yml | |
require 'ftools' | |
namespace :config do | |
task :build do | |
File.mkdir_p temp_config_dir | |
# this is the place to hook after when creating a config file | |
end | |
task :update do | |
# upload contents of temp_config_dir to #{release_path}/config |
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
NameVirtualHost xxx.example.com | |
<VirtualHost xxx.example.com> | |
ServerAdmin name@example.com | |
ServerName xxx.example.com | |
DocumentRoot /u/apps/example/current/public | |
RailsBaseURI /app1 | |
RailsBaseURI /app2 | |
RackBaseURI /sinatra1 |
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
# =========================================================== | |
# as you can see this is the exact copy of What is is the | |
# Passnger user guide | |
require 'rubygems' | |
require 'merb-core' | |
Merb::Config.setup( | |
:merb_root => ::File.expand_path(::File.dirname(__FILE__)), | |
:environment => ENV['RACK_ENV'] |
NewerOlder