I hereby claim:
- I am pcolazurdo on github.
- I am pcolazurdo (https://keybase.io/pcolazurdo) on keybase.
- I have a public key whose fingerprint is B6A7 22E2 23BA A055 6C91 AE3E C50B A788 0AF5 7728
To claim this, I am signing this object:
| check process sunspot-solr | |
| with pidfile "/var/www/ot/shared/pids/sunspot-solr.pid" | |
| group sunspot-solr | |
| start program = "/bin/su - deploy -c 'cd /var/www/ot/current && bundle exec sunspot-solr start --port=9072 --bind-address=localhost --data-directory=/var/www/ot/shared/sunspot/data --solr-home=/var/www/ot/shared/sunspot --pid-dir=/var/www/ot/shared/pids --log-level=WARNING --log-file=/var/www/ot/shared/log/sunspot.log'" | |
| stop program = "/bin/su - deploy -c 'cd /var/www/ot/current && bundle exec sunspot-solr stop --port=9072 --bind-address=localhost --data-directory=/var/www/ot/shared/sunspot/data --solr-home=/var/www/ot/shared/sunspot --pid-dir=/var/www/ot/shared/pids --log-level=WARNING --log-file=/var/www/ot/shared/log/sunspot.log'" |
| java -cp . logstash.runner agent -f logstash.conf -- web --backend elasticsearch:///?local |
| console.log('curl -vv --data "' + $('input').map(function (){ return this.name + '=' + this.value }).toArray().join('&') + '" ' + document.location.href) |
| ### Based on: https://gist.github.com/1191574 | |
| ### Based on: http://graphite.wikidot.com/installation | |
| ### for Django 1.4 review: https://bugs.launchpad.net/graphite/+bug/963684 | |
| ### Statsd: http://geek.michaelgrace.org/2011/09/installing-statsd-on-ubuntu-server-10-04/ | |
| #################################### | |
| # BASIC REQUIREMENTS | |
| # http://graphite.wikidot.com/installation | |
| # http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
| # Last tested & updated 10/13/2011 |
| zcat *20130228.gz |grep "GET /wp-content/plugins/fc-velocix-video/flowplayer/flowplayer.commercial-3.2.7-6.swf" | grep -v '"http://www.telefe.com/"' | wc -l |
| zcat blogs.telefe.com.access.log-20130226.gz | cut -d" " -f5,11 | grep 500 |cut -d: -f 2 | uniq -c |
| NOW=`date +(%Y-%M-%d)` ; t favorites > /tmp/favorites.twit; cat /tmp/favorites.twit | mail -s "Favorites Twitter @ $NOW" $MAIL |
| #Installed packages sorted by date | |
| rpm -qa --qf '%{INSTALLTIME} (%{INSTALLTIME:date}): %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -n >/tmp/installed.rpm | |
| #List the content of a package | |
| repoquery --list *package* | |
| #Which Repository a Package was installed from | |
| repoquery -i package | |
| #What package a file belongs to |
I hereby claim:
To claim this, I am signing this object:
| To run docker on windows to run a new image, let's say mingfang/docker-ipython: | |
| install boot2docker from docker site | |
| Once installed you have to run a cmd as administrator and then: | |
| : boot2docker start | |
| : boot2docker ssh | |
| Once there you can pull a repo, like: |