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.3 on 2009-apr-23 (download)

Rails 2.3 compatible version.

Note to upgraders: the configuration options have changed due to changes in Rails 2.3.

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

Upgrading from a pre-Rails 2.3 version
The configuration options have changed. If you’ve been using the defaults
then no action is required. If you’ve been setting values, then you must
make changes. See the Configuration section below on the new names for the
settings.

Features

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).

ActiveRecord::SessionStore::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.

ActiveRecord::SessionStore::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.

ActiveRecord::SessionStore::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::Request.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].

Note on Rails versions
The above instructions are specific to the current version of limited_sessions, which is only compatible with Rails 2.3+. See the README for the Rails 2.2 and earlier compatible version as the configuration options are different.

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 DNS

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; configurable TTLs (as low as 5 minutes); and a REST API.

High-traffic and premium support options are available; basic service is free.

http://www.zerigo.com/managed-dns

Zerigo VPS

Zerigo VPS offers high-performance virtual private servers. Running your choice of several Linux distributions, you also get full root access, tier-1 bandwidth, enterprise-grade hardware, RAID-10 storage, dedicated IPs and more. Zerigo VPS servers are very easy to setup and can be ready to use in just a couple of minutes.

There are no setup fees or contracts. A variety of server sizes are available and they can be upgraded/downgraded at any time.

Zerigo VPS

Zerigo Watchdog

Zerigo Watchdog is a hosted server monitoring service. Supporting multiple users, configurable service checks, configurable notification intervals, and more, it is both powerful and easy to use.

Basic service is free; more features are available at a minimal cost.

http://www.zerigo.com/watchdog

Page: 1