plugin: db_log_cleaner

latest release: v.3 on 2008-jan-08 (download)

additional filtering of log messages added by rails 2.0

db_log_cleaner is a rails plugin that filters out lots of db schema related logging. it is a more complete version of postgre_log_cleaner which filters out many more logs from postgres as well as some stuff from mysql.

why: rails, in development mode, spits out a ton of log messages. many of them are rails querying the db about the schema. these get in the way of application-specific logs and make it harder to get what you need.

how to use: just install the plugin; the rest it automatic.

install: script/plugin install http://svn.iprog.com/projects/rails/plugins/db_log_cleaner

plugin: limited_sessions

latest release: v.2 on 2008-jul-23 (download)

Improved Rails 2.1 compatibility

A plugin to modify Ruby on Rails’ standard database-backed sessions behavior to be more intelligent.

Features

Requirements

Limitations

Installation

Simply add this plugin into your rails app and configure if required.

To add to your rails app:

./script/plugin install http://svn.iprog.com/projects/rails/plugins/limited_sessions

Configuration

There are several options that can be configured. They should be placed at the end of config/environment.rb (or the individual environment.rb files if that’s preferred).

CGI::Session::ActiveRecordStore::Session.recent_activity_limit = 2.hours

This will expire sessions after the given period of time. This is managed on the server side and if the user closes their browser, the session will be gone. Default is 2 hours.

CGI::Session::ActiveRecordStore::Session.hard_session_limit = 24.hours

Sessions can also be forcefully expired without regard to the last activity. So if this is set to 24 hours and the above is two hours, the session will be terminated if a) the user has been inactive for more than two hours OR b) it has been more than 24 hours since the session began. Default is disabled (nil). Requires a `created_at` column in the session table.

CGI::Session::ActiveRecordStore::Session.auto_clean_sessions = 1000

Does a random test to see if the app should delete all expired sessions now. The odds are 1 in whatever value is provided here. 0 will disable this option. Default is 1000. A busy site may want 10000 or higher.

ActionController::CgiRequest.ip_restriction = :subnet

If set to :subnet, will compare the first three quads of the IPv4 address for a match. If set to :exact, will compare the full IP address (which should also work for IPv6). If no match, the session will be reset. Default is :none. Stores the IP match data in the session store as session[:ip].

mpd remote

latest release: v.1.2 on 2006-jan-07 (download)

basic playlist support added

mpd remote is a little php app i wrote to control my mpd-based jukebox from my mobile phone.

subethaedit php5 mode file

latest release: v.1a on 2005-apr-02 (download)
modified version, by jonathan dance, that has different icons for public/protected/private functions (if they're indented 3+ chars).

PHP5 mode file for subethaedit. jonathan dance sent in a modified version that has different icons for public/protected/private functions (if they're indented 3+ chars).

midnam for triton extreme

latest release: v.1 on 2004-may-08 (download)

initial release

a mac os x (10.2+) midnam file (patch list) and images for triton extreme.

Zerigo: NS

DNS services for your own domain

Zerigo: NS provides geographically distributed and redundant DNS services for one or many domains. Key features include templates, for easy management of many domains; the ability to modify records dynamically; and configurable TTLs (as low as 5 minutes).

A high-traffic and premium support option is available; standard service is free.

http://ns.zerigo.com/