Subject: [Client] Outage, [app-name], [start-date-time] Priority: High
Body:
Description of issue as it is currently understood to be.
- this should change as more is understood
server { | |
listen 80; | |
server_name localhost; | |
location /status { | |
access_log off; | |
default_type text/plain; | |
return 200 "alive"; | |
} | |
} |
container_commands: | |
copy: | |
command: "cp .ebextensions/01update_nginx_config.py /opt/elasticbeanstalk/hooks/appdeploy/enact/" | |
make_exe: | |
command: "chmod +x /opt/elasticbeanstalk/hooks/appdeploy/enact/01update_nginx_config.py" |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |
# =========================================================== | |
# 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'] |
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 |
# 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 |
$('#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'); |
# output and array sorted | |
def ian_sort(a) | |
c = false # change | |
a[0...-1].each_with_index { |v, i| | |
if v > a[i+1] then | |
a[i], a[i+1] = a[i+1], a[i] | |
c = true | |
end | |
} | |
ian_sort(a) if c |
class Keygroup | |
include DataMapper::Resource | |
has n, :keywords, :through => Resource | |
has n, :categories, :through => Resource | |
property :id, Serial | |
property :name, String | |
property :description, Text | |
property :created_at, DateTime |