Main Menu
RSS Feeds
Our news can be syndicated by using these rss feeds.
rss1.0
rss2.0
rdf
Welcome
Username:

Password:



[ ]
Software Releases


Beatnik
Web interface for DNS management
Codelets
An orphanage of source code
mceOnlineVideos
A secure YouTube and Google Video Plugin for TinyMCE
ldap2dns
Store your DNS records in LDAP
PodMail
Your Voicemail as a PodCast
RealCLIP
Real Estate Listings Portal
Shout
Manage your Asterisk PBX in a convenient Web UI
Congregation
The ultimate web account manager
Asterisk::LDAP
Store your Asterisk PBX configuration in LDAP
CMap
Cross Provider Online Map API
Codelets
An orphanage of source code
on Saturday 08 March 2008
by Ben Klang author list print the content item create pdf file of the content item
in Software
comments: 0
not rated -

Codelets: Miscellaneous Stuff

This page is a collection of various random and miscellaneous pieces of code I've written at some point. They are each too small to be anything like a complete package but still may be of use to someone so I have chosen to release them here. These may or may not be maintained; they certainly aren't supported. Caveat emptor!

Those interested in the latest code can use the Alkaloid Networks Subversion repository at https://svn.alkaloid.net/gpl/codelets or use the live repository browser at http://svn.alkaloid.net/browse/chora.


Asterisk-ECA is a patch to Asterisk 1.0 stable which modified app_dial to allow a called user to be prompted to accept or reject a call. ECA stands for Explicit Call Acceptance. This tarball comes with two sample audio files to do the prompting. They are NOT professionally recorded and do NOT match Allison, the Voice of Asterisk. This patch is released GPL. It may or may not be included in future releases of Asterisk (mostly depending on when I get un-lazy and update the patch for asterisk/trunk).

Get Asterisk-ECA here.
See release information here.

makechroot.pl is a simple perl script designed to automate much of the work required in creating chroot directories. Reading a list of files from a specified chroot.conf, makechroot.pl automatically works out all shared library dependencies (if applicable) and recursively copies both the binary and any shared libs preserving symbolic links, device node major/minor numbers, directory structure and file permissions where appropriate. A sample chroot.conf is included.

Get makechroot.pl here.
See release information here.

This directory contains a tool used to sort Apache standard logfiles by their timestamp. Multiple entries with the same timestamp are handled correctly. It is probably not the most efficient or fast sorter ever written but it does work reliably for me.

Note that you must have enough memory to load the entire file to be sorted into perl hash tables for this script to work.

Get apache-logsort here.
See release information here.

toc.js is a tool to help people who still believe vim is a great HTML editor.

toc.js automates the creation of a Table of Contents. This is helpful the first time you have to add an entry to a numbered chapter set. The idea comes from various wiki implementations which allow a TOC to be dynamically generated based on page content. This is a very simple implementation of that logic in javascript.

toc.js is used throughout this and other pages on Alkaloid Networks :: Projects.

Get toc.js here.
See release information here.

checkubc.rb is a script to monitor the health of OpenVZ containers by reading /proc/user_beancounters. It can be configured to send alerts when any beancounter gets within a certain perecentage of the barrier limit as well as when the failcnt increases. Requires the gdbm, Time, and Net::SMTP libraries, which are part of most standard Ruby installations.

Get checkubc.rb here.
See release information here.

You must be logged in to make comments on this site - please log in, or if you are not registered click here to signup