Posted November 26, 2005
This weekend I wrote a ftp deployment tool. It helps me deploy my changes
faster to my concert website.
The program is written in ruby. It will search for the file .ftpup in
this or a higher directory. In this file you can specify some rules that
let the program know where to upload the files to.
The rules use regex to specify where the file should go. To let this approach
work as it should, it will first find out where the file is, relative to the
project 'basedir'. The basedir is the directory where the .ftpup file is.
When all is set, you can call ftpup [filenames...] to upload those files.
The nice thing is that this can be done from any directory below the basedir.
The sourcecode can be found in my repository
and you'll need darcs to get it. It has a GPL license so I would like it if patches come back to me.
Posted November 24, 2005
After the articles on 43folders about using timers for
specific things, I thought I would create a timer program. Now I have a few
programs that I 'integrated' in my window manager. With Alt-F4 ion3 will show a
query. I can type the number of seconds the timer should run for. A timer is
shown in the lower right corner of the screen (which is already evil enough).
A next version will probably make it possible to show and hide with a push of the button.
The program can be found in my darcs
repository. The ruby-xosd extension can be
found on the ruby-xosd homepage and not in
my repository.
Posted November 24, 2005
Darcs is a distributed revision control system. It
can be used to keep revision of documents (which includes sourcecode). I tried
to use it to keep some projects. The repository is online at http://darcs.peterstuifzand.nl and is read-only.
The nice thing about darcs is that anyone can be get a version of the repository on his
own computer. That repository is a complete repository and can be used to keep
revisions locally. Changes can be push-ed to or pull-ed from the remote repository. This
makes it easy to work on a local copy, while keeping different revisions (actually patches).
More information can be found on the darcs homepage and on the
darcs wiki.
Also feel free to check out the projects in the repository and send patches.
Posted November 15, 2005
The new mediawiki supports external editors, this is about the same as
the hack I posted a few days ago. The nice thing about it is, is that
you can edit about any file or page that's uploaded or written.
The page edit part of the program very much like the program I
created. The only problem is that it uses regexe instead of a more
stable solution like WWW::Mechanize. The support for editing files is
really good.
A more elaborate system would let you edit spreadsheets on the wiki
(with an external program like Gnumeric). The problem with this is that not everyone can edit all types of files.
The editing of pages with external editors is a nice addition to
mediawiki.
Posted November 6, 2005
A short list of the applications/programs that I use.