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
cd nanite | |
./bin/nanite-mapper -i -u mapper -p testing -v /nanite | |
Starting mapper console | |
>> request('/control/converge') {|res| p res } |
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 | |
# this script requires the aws script from http://timkay.com/aws/ | |
PATH="/bin:/usr/bin:/usr/sbin:/usr/local/bin" | |
LOCKFILE=/tmp/.s3logs.lock | |
QUEUEDIR=/var/spool/log-s3upload-queue | |
S3BUCKET=shopify-logs-bucket |
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
var sys = require('sys'); | |
var http = require('http'); | |
var url_mod = require('url'); | |
var url = process.ARGV[2]; | |
var parsed_url = url_mod.parse(url); | |
var client = http.createClient(parsed_url.port || 80, parsed_url.hostname); | |
client.setTimeout(1000); |
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
$ gdb --args ~/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
GNU gdb (GDB) 7.0-ubuntu | |
.... | |
Reading symbols from /home/peter/tmp/node/node_g...done. | |
(gdb) run | |
Starting program: ./node_g test.js http://202.129.49.242:8030/ | |
[Thread debugging using libthread_db enabled] | |
[New Thread 0xb5b27b70 (LWP 10497)] | |
DEBUG: [1007] Timeout: undefined | |
node_g: ../src/node_net.cc:262: static v8::Handle<v8::Value> node::Connection::Connect(const v8::Arguments&): Assertion `connection->host_ == __null' failed. |
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
$ gdb --args ~/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
GNU gdb (GDB) 7.0-ubuntu | |
.... | |
Reading symbols from /home/peter/tmp/node/node_g...done. | |
(gdb) run | |
Starting program: /home/peter/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
[Thread debugging using libthread_db enabled] | |
[New Thread 0xb5b27b70 (LWP 10581)] | |
DEBUG: [1008] Timeout: undefined | |
DEBUG: [60004] Timeout: undefined |
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
$ gdb --args ~/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
GNU gdb (GDB) 7.0-ubuntu | |
...... | |
Reading symbols from /home/peter/tmp/node/node_g...done. | |
(gdb) run | |
Starting program: /home/peter/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
[Thread debugging using libthread_db enabled] | |
[New Thread 0xb5b27b70 (LWP 10628)] | |
DEBUG: [1008] Timeout: undefined | |
DEBUG: [60004] Timeout: undefined |
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
$ gdb --args ~/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
GNU gdb (GDB) 7.0-ubuntu | |
...... | |
Reading symbols from /home/peter/tmp/node/node_g...done. | |
(gdb) run | |
Starting program: /home/peter/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
[Thread debugging using libthread_db enabled] | |
[New Thread 0xb5b27b70 (LWP 10736)] | |
DEBUG: [1008] Timeout: undefined | |
DEBUG: [60004] Timeout: undefined |
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
$ gdb --args ./node_g test.js http://202.129.49.242:8030/ | |
GNU gdb (GDB) 7.0-ubuntu | |
...... | |
Reading symbols from /home/peter/tmp/node/node_g...done. | |
(gdb) run | |
Starting program: /home/peter/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
[Thread debugging using libthread_db enabled] | |
[New Thread 0xb5b27b70 (LWP 10797)] | |
DEBUG: [1005] Timeout: undefined | |
DEBUG: [60004] Timeout: undefined |
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
$ gdb --args ~/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
GNU gdb (GDB) 7.0-ubuntu | |
...... | |
Reading symbols from /home/peter/tmp/node/node_g...done. | |
(gdb) run | |
Starting program: /home/peter/tmp/node/node_g test.js http://202.129.49.242:8030/ | |
[Thread debugging using libthread_db enabled] | |
[New Thread 0xb5b27b70 (LWP 10867)] | |
DEBUG: [1006] Timeout: undefined | |
DEBUG: [60004] Timeout: undefined |
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
I, [2010-03-09T17:20:39.999853 #7258] INFO -- : listening on addr=0.0.0.0:8080 fd=3 | |
I, [2010-03-09T17:20:40.005347 #7258] INFO -- : worker=0 spawning... | |
I, [2010-03-09T17:20:40.010881 #7259] INFO -- : worker=0 spawned pid=7259 | |
I, [2010-03-09T17:20:40.027271 #7259] INFO -- : Refreshing Gem list | |
I, [2010-03-09T17:20:40.040018 #7258] INFO -- : master process ready | |
Loading init file from ./config/init.rb | |
~ Loaded slice 'ChefServerWebui' ... | |
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.1.7/lib/openid.rb:16: warning: already initialized constant VERSION | |
/usr/lib/ruby/1.8/cgi.rb:279: warning: already initialized constant CR |
OlderNewer