This file contains hidden or 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
18:08:45 root@ops-staging:/opt/graphite/conf | |
→ rabbitmqctl list_exchanges | |
Listing exchanges ... | |
amq.direct direct | |
amq.topic topic | |
amq.rabbitmq.trace topic | |
amq.rabbitmq.log topic | |
amq.fanout fanout | |
amq.headers headers | |
direct |
This file contains hidden or 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
{ | |
"checks": { | |
"mongodb_metrics": { | |
"type": "metric", | |
"handlers": ["graphite"], | |
"command": "/etc/sensu/plugins/mongodb-metrics.rb --scheme stats.:::name:::", | |
"interval": 10, | |
"subscribers": [ "base" ] | |
} | |
} |
This file contains hidden or 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
{ | |
"checks": { | |
"mongodb_metrics": { | |
"type": "metric", | |
"handlers": ["graphite"], | |
"command": "/etc/sensu/plugins/mongodb-metrics.rb --scheme stats.:::name:::.mongob", | |
"interval": 10, | |
"subscribers": [ "base" ] | |
} | |
} |
This file contains hidden or 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
16:26:48 root@postgresql02:~ | |
→ salt-minion | |
Traceback (most recent call last): | |
File "/usr/bin/salt-minion", line 5, in <module> | |
from pkg_resources import load_entry_point | |
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2671, in <module> | |
working_set.require(__requires__) | |
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 654, in require | |
needed = self.resolve(parse_requirements(requirements)) | |
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 552, in resolve |
This file contains hidden or 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
window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}}; | |
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try | |
{console.log();return window.console;}catch(err){return window.console={};}})()); |
This file contains hidden or 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 | |
function f() { | |
sleep "$1" | |
echo "$1" | |
} | |
while [ -n "$1" ] | |
do | |
f "$1" & | |
shift |
This file contains hidden or 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
server { | |
server_name www.volumeone.org; | |
rewrite ^(.*) http://volumeone.org$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name staging.volumeone.org; | |
server_tokens off; | |
root /home/volumeone/sites/staging.volumeone.org/web; |
This file contains hidden or 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
18:00:26 deploy@puppet:~ ruby-1.8.7-p352@system | |
$ rvm info | |
ruby-1.8.7-p352@system: | |
system: | |
uname: "Linux puppet.zaarly.net 2.6.32-317-ec2 #36-Ubuntu SMP Fri Jul 8 18:12:30 UTC 2011 x86_64 GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)" | |
zsh: " => not installed" |
This file contains hidden or 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/env php | |
<?php | |
//setup global $_SERVER variables to keep WP from trying to redirect | |
$_SERVER = array( | |
"HTTP_HOST" => "http://mysite.com", | |
"SERVER_NAME" => "http://mysite.com", | |
"REQUEST_URI" => "/", | |
"REQUEST_METHOD" => "GET" | |
); |
This file contains hidden or 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
$ cat /etc/rvmrc | |
umask g+w | |
export rvm_ps1=1 | |
export rvm_user_install_flag=0 | |
$ rvm info | |
system: | |
system: |