I hereby claim:
- I am nrr on github.
- I am nrr (https://keybase.io/nrr) on keybase.
- I have a public key ASD8aFFMRc9GxObly8Hwjen6nbJ9gLBiIPs8u3lgBQyZ8Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| PS /Users/nrr> Get-Process | Sort-Object -Property CPU | Select-Object -Last 10 | |
| Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName | |
| ------- ------ ----- ----- ------ -- -- ----------- | |
| 0 0 0 106808 4,238.603 581 1 Google Chrome H | |
| 0 0 0 68060 4,240.391 671 1 Google Chrome H | |
| 0 0 0 34944 4,558.544 347 1 Dock | |
| 0 0 0 691396 6,055.888 2865 1 Google Chrome H | |
| 0 0 0 34588 6,254.382 299 1 CalendarAgent | 
I hereby claim:
To claim this, I am signing this object:
| /var/log/nginx/*.log { | |
| hourly | |
| missingok | |
| rotate 24 | |
| compress | |
| delaycompress | |
| notifempty | |
| create 640 nginx adm | |
| sharedscripts | |
| postrotate | 
| { | |
| "network": { | |
| "servers": [ "localhost:5043" ], | |
| "ssl certificate": "./root/lumberjack.crt", | |
| "ssl key": "./root/lumberjack.key", | |
| "ssl ca": "./root/lumberjack_ca.crt" | |
| }, | |
| "files": [ | |
| { | |
| "paths": [ "-" ], | 
| #!/usr/bin/perl | |
| use strict; | |
| sub test | |
| { | |
| open FP, "< $0" or die; | |
| while (my $l = <FP>) # Modification of a read-only value attempted at ./test.pl line 7. | |
| { | |
| chomp $l; | |
| print "w: $l\n"; | 
| # Nginx - logrotate & upload to S3 | |
| 0 0 * * * /usr/sbin/logrotate /etc/logrotate.d/nginx | |
| 15 0 * * * s3cmd put /var/log/nginx/access.log-`date +"\%Y\%m\%d"`.gz s3://$LOGS_BUCKET_NAME/nginx-access/`date +"dt=\%Y\%m\%d"`/`hostname -s`.access.log-`date +"\%Y\%m\%d"`.gz | 
| sub with_open_filehandle | |
| { | |
| my ($fh, $callback) = @_; | |
| try { | |
| $callback->($fh); | |
| } | |
| finally { | |
| $fh->close; | |
| }; | 
| require 'rubygems' | |
| require 'rake/clean' | |
| require 'rspec/core/rake_task' | |
| CLEAN.include("") | |
| CLOBBER.include("target") | |
| desc "Default task prints the possible targets." | |
| task :default do | |
| sh %{rake -T} |