January 2010
18 posts
1 tag
Jan 31st
2 tags
pubsubhubbub-rb
Just open sourced a project on GitHub… pubsubhubbub-rb The project is a Ruby port of Google’s PubSubHubbub reference implementation. http://code.google.com/p/pubsubhubbub/
Jan 26th
2 tags
localhash
Working on LocalHash - a basic example of location based webhooks using the geohash algorithm and is possibly a PubSubHubbub extension candidate. The API was implemented using Sinatra, Redis, Thin, and Nginx. http://www.localhash.com
Jan 24th
new mouth watering media site →
Jan 21st
Jan 20th
3 tags
ActiveRecord MySQL Partitions
Check out the below example of how to create partitioned MySQL tables within a Rails Migration. We’ve had a handful of tables that we continually want to partition and a team member wrote the below. Here’s the migration snippet class AddResultsTable < ActiveRecord::Migration def self.up create_partitioned_table :results do |t| The below creates a results table...
Jan 20th
2 tags
Rails LRU Memory Store
via snipplr
Jan 19th
mySQLgame →
Jan 18th
http://magazine.jamsbio.com/2009/01/05/playing-the-... →
Jan 14th
2 tags
nginx with thin and monk
The below script is a continuation of my last aws post, however instead of installing Phusion Passenger and Rails, the script installs Thin and Monk. Monk is glue framework for Rack and Sinatra. Here are the links to the software detailed in the script. Nginx Thin Monk As before, the first part of the script removes pre-configured ruby packages and installs ruby and rubygems from...
Jan 14th
2 tags
nginx with passenger and rails
The below script walks you through setting up Nginx with Phusion Passenger and Rails. The script is intended for use with RightScale and Amazon Web Services (AWS). Here are the links to the software detailed in the script. Nginx Phusion Passenger Ruby on Rails The first part of the script removes pre-configured ruby packages and installs ruby and rubygems from scratch. The...
Jan 12th
Jan 10th
2 tags
nagios ejabberd check via ruby
Below is an example of using Ruby and xmpp4r to check ejabberd’s status from within nagios You’ll need to define the below nagios command within you nagios config file and then include the below ruby. define command { command_name check_xmpp command_line ruby /opt/nagios/plugins/check_xmpp.rb --hostname $HOSTADDRESS$ --jid username@domain.com --password password } Here is...
Jan 7th
“Alice’s adventures in algebra: Wonderland solved http://bit.ly/7nB2oI”
– barinek
Jan 5th
1 tag
aws snapshots with capistrano
Here’s a quick example using Capistrano and amazon-ec2 gems to create Amazon Web Services (AWS) snapshots. instances is a convenience method within our larger cap file.
Jan 5th
Jan 5th