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
[program:focuslab_worker] | |
command=/srv/charlotte/current/env/bin/python /srv/charlotte/current/src/manage.py celeryd -Q core,focuslab -E --settings=focuslab_settings | |
directory=/srv/charlotte/current/src | |
autostart=true | |
autorestart=true | |
redirect_stderr=true | |
stdout_logfile=/var/log/celery/supervisord-celeryd-focuslab.log | |
user=www-data | |
stopwaitsecs=10 |
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
LOGGING = { | |
'version': 1, | |
'formatters': { | |
'simple': { | |
'format': "%(levelname)s %(message)s", | |
}, | |
}, | |
'handlers': { | |
'console': { | |
'level': 'DEBUG', |
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
SharpyClient: DEBUG: Requesting: https://cheddargetter.com/xml/plans/get/productCode/TEST-SONGTRUST/code/BASIC_MONTHLY | |
SharpyClient: DEBUG: Request Method: GET | |
SharpyClient: DEBUG: Request Body(Data): None | |
SharpyClient: DEBUG: Request Body(Raw): None | |
SharpyClient: DEBUG: Response Status: 200 | |
SharpyClient: DEBUG: Response Content: <?xml version="1.0" encoding="UTF-8"?> | |
<plans> | |
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY"> | |
<name>Standard Monthly</name> | |
<displayName>Standard Monthly • 10.00 / Month</displayName> |
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
ohai do | |
action = :reload | |
end |
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
~ » which perl ~ | |
/usr/bin/perl | |
~ » perl -v ~ | |
This is perl, v5.10.0 built for darwin-thread-multi-2level | |
(with 2 registered patches, see perl -V for more detail) | |
Copyright 1987-2007, Larry Wall | |
Perl may be copied only under the terms of either the Artistic License or the |
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
Your OS X is ripe for brewing. | |
Any troubles you may be experiencing are likely purely psychosomatic. |
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
/* Clear Floated Elements | |
----------------------------------------------------------------------------------------------------*/ | |
.clear { | |
clear: both; | |
display: block; | |
overflow: hidden; | |
visibility: hidden; | |
width: 0; |
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
''' | |
Fabfile for running chef-client across a cluster of servers. | |
EC2 credentials are automatically read from the knife config file and servers | |
are discovered via the ec2 API. | |
Put this file in the root of your chef repo and tehn run ``fab ec2_instances run_chef`` to run "chef-client" on all of your EC2 | |
servers or run ``fab ec2_instances:group_id=web run_chef`` to run | |
"chef-client" on just the servers in a given security group. |
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 python | |
import twilio | |
import time | |
# Setup twilio info | |
API_VERSION = '2008-08-01' | |
ACCOUNT_SID = 'REPLACE_ME' | |
ACCOUNT_TOKEN = 'REPLACE_ME' | |
account = twilio.Account(ACCOUNT_SID, ACCOUNT_TOKEN) |
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
============================================================= | |
Installing Multicore Solr 1.3.0 / Tomcat 6.0.X on Ubuntu 8.10 | |
============================================================= | |
Install OpenJDK (comes from universe):: | |
aptitude install openjdk-6-jre | |
Download Tomcat 6.X and move it in place:: |
NewerOlder