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
[client] | |
default-character-set = utf8 | |
[server] | |
default-character-set = utf8 | |
default-collation = utf8_general_ci | |
innodb_buffer_pool_size = 256M |
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
user user group; | |
worker_processes 5; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 8192; | |
use epoll; | |
} | |
http { |
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
>> n = Notification.find(:first, :include => [{:event, :target}], :order => 'id DESC') | |
Notification Load (0.000361) SELECT * FROM `notifications` ORDER BY id DESC LIMIT 1 | |
Event Load (0.000306) SELECT * FROM `events` WHERE (`events`.`id` IN (45)) | |
ActivityItem Load (0.000320) SELECT * FROM `activity_items` WHERE (`activity_items`.`id` IN (3)) | |
=> #<Notification id: 28, event_id: 45, user_id: 3, sent: false, created_at: "2008-10-03 21:58:52", updated_at: "2008-10-03 21:58:52", subscription_id: 1> | |
>> n.event.target | |
=> #<Event id: 45, created_at: "2008-10-03 21:58:52", deleted: nil, info: "", detail: "<subject>$0</subject> <predicate>updated</predicate...", event_category_id: nil, system_only: false, verb: "update", actor_type: "User", actor_id: 3, target_type: "ActivityItem", target_id: 3, obfuscated_id: "395adf80f8ba3cf9a63e07e5f129db84249ebef5", notifications_made: true, owner_id: nil, owner_type: nil, updated_at: "2008-10-03 21:58:52"> |
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
# Lets us trigger monit reloads from other modules | |
# monit_file { "nginx": ensure => present } | |
define monit_file($ensure = 'absent') { | |
file { "/etc/monit.d/${name}.run": | |
owner => "root", | |
group => "root", | |
mode => "0644", | |
replace => true, | |
source => "puppet:///${name}/${name}.run", | |
ensure => $ensure, |
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
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] |
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
<!-- Define your application-wide tags here --> | |
<include src="rapid" plugin="hobo"/> | |
<set-theme name="puppetshow"/> | |
<def tag="app-name">Puppet Show</def> | |
<def tag="page" extend-with="app"> | |
<page-without-app merge> |
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
<!-- Define your application-wide tags here --> | |
<include src="rapid" plugin="hobo"/> | |
<set-theme name="puppetshow"/> | |
<def tag="app-name">Puppet Show</def> | |
<def tag="page" extend-with="app"> | |
<page-without-app merge> |
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
Tue Nov 11 06:41:19 -0800 2008: HTTP parse error, malformed request (127.0.0.1): #<Mongrel::HttpParserError: HTTP element REQUEST_PATH is longer than the 1024 allowed length.> | |
Tue Nov 11 06:41:19 -0800 2008: REQUEST DATA: "GET /trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/online_collaboration_all/https://app.onehub.com/trynow/facebook/onlin |
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
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'right_aws' | |
access_key = 'abc' | |
secret = 'xyz' | |
src = 'src' | |
dest = 'dest' | |
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
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] |