Skip to content

Instantly share code, notes, and snippets.

@justone
justone / rtail.py
Created October 7, 2011 20:50 — forked from messa/rtail.py
#!/usr/bin/env python
"""
Usage:
./rtail.py user@host:path/foo.log bar.log host2:/path/baz.log
"""
import optparse
import os
@justone
justone / events.jquery.org.js
Created October 3, 2011 15:01
dotjs script to allow picking your schedule on http://events.jquery.org/2011/boston/schedule/ (stick amplify.store.js into default.js)
(function(amplify) {
var selected_color = '#9E9E9E';
var unselected_color = '#E9E9E9';
var schedule_data = amplify.store('mySchedule');
if (schedule_data == null) {
schedule_data = {};
}
//console.log(schedule_data);
# Quick wrapper for undocumented and unsupported MyMileMarker.com API
require 'rubygems'
gem 'httparty', '>= 0.3.1'
require 'httparty'
module MyMileMarker
class Client
include HTTParty