This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
sudo yum install -y git gcc perl-CPAN bison flex byacc libmicrohttpd-devel gcc-c++ nodejs npm --enablerepo=epel
git clone git://git.pcp.io/pcp
cd pcp/
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-webapi
sudo groupadd -r pcp
sudo useradd -c "Performance Co-Pilot" -g pcp -d /var/lib/pcp -M -r -s /usr/sbin/nologin pcp
make
sudo make install
| var request = require('request') | |
| , path = require('path') | |
| , fs = require('fs') | |
| , url = "https://api.github.com/users/diegopacheco/gists" | |
| , savepath = 'D:/tmp/gists'; | |
| String.prototype.replaceAll = function(search, replace, ignoreCase) { | |
| if (ignoreCase) { | |
| var result = []; | |
| var _string = this.toLowerCase(); |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |