Skip to content

Instantly share code, notes, and snippets.

Sean O'Connor SeanOC

Block or report user

Report or block SeanOC

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:9401623
### Keybase proof
I hereby claim:
* I am SeanOC on github.
* I am seanoc ( on keybase.
* I have a public key whose fingerprint is BAC9 770C B661 7F4F 4247 2C0B 5EEB EE58 80A1 95F2
To claim this, I am signing this object:
View gist:204650
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::
#!/usr/bin/env python
import twilio
import time
# Setup twilio info
API_VERSION = '2008-08-01'
account = twilio.Account(ACCOUNT_SID, ACCOUNT_TOKEN)
SeanOC /
Created Dec 17, 2010
A fab script for easily running "chef-client" across a cluster of servers
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.
View gist:752031
/* Clear Floated Elements
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
View brew_doctor_output
Your OS X is ripe for brewing.
Any troubles you may be experiencing are likely purely psychosomatic.
View gist:763729
~ » which 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
View gist:982015
ohai do
action = :reload
SeanOC / gist:991963
Created May 25, 2011
CG Delete All error
View gist:991963
SharpyClient: DEBUG: Requesting:
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"?>
<plan id="6a1642de-7146-102e-b098-40402145ee8b" code="BASIC_MONTHLY">
<name>Standard Monthly</name>
<displayName>Standard Monthly • 10.00 / Month</displayName>
View gist:1010827
'version': 1,
'formatters': {
'simple': {
'format': "%(levelname)s %(message)s",
'handlers': {
'console': {
'level': 'DEBUG',
You can’t perform that action at this time.