I really enjoy to listen radio. Most of the radio use Realaudio stream. On Un*x, you usually can use realplayer. Now i want to convert this stream to mp3 in order to listen it on my mp3 player.
Howto:
First down the .ram file
open it to find the rtsp url (something like rtsp://XXXX/stream.rm)
ask mplayer to encode it [...]
Tags: mp3, Python
admin June 13th, 2004
Yes !!! boxMon reach the version 0.0.2 / after something like one year of sleep :
Here is little note of introduction
boxMon is a monitoring tool for unix based operating system that use :
python
gnuplot
MySQL (currently the only one but this will change soon)
a webserver (Apache for example)
Data collecting is done through simple python scripts that are [...]
admin May 3rd, 2004
I’m using spambayes for a long time now. But when i decide to install it for all the curent users of my setup (w/ some virtual domains..), i just discover that spambayes don’t have a system-wide deamon like spamassasin (spamd).
So the first try:
install spamassassin :) .. This mail filtering is just a bulshit ! Even [...]
Tags: bayesian, mail, Python, server, spam, sysadmin
admin April 24th, 2004
Since i totally switched my mail system to imap, i’m looking for a way to keep the folders ’small as possible’. I talked w/ Phil about this, and he (http://base-art.net/wk/Article/3.html) hacked a existing python script. The main difference between his hack and the orginal one, is that now the folder are archived in a ‘normal’ [...]
Tags: mail, Python, sysadmin
admin April 19th, 2004
I spent part of the day to install a virtual mail server, and i discover that there is a really simple way to secure courier-imap. By defaut when you use this kind of server the auth is made against the standard pam module. This is really simple, but what happend if someone is able to [...]
Tags: imap, mail, sysadmin
admin February 29th, 2004
I get it! I managed to use mutt w/ my imap folders, with hooks and everything fine. This is not really hard, but :
libsas-modules break the SSL certification (without any error message)
mutt really lack of header cache for imap (there is a patch for Maildir but no for imap)
### IMAP ########################################
set imap_user=”soif”
set spoolfile=imaps://mail.larsen-b.com/
set folder=imaps://mail.larsen-b.com/INBOX
set record=imaps://mail.larsen-b.com/INBOX.Sent
mailboxes [...]
Tags: imap, mail, sysadmin
admin February 18th, 2004
This is a small tips to build a avi/divx/mpeg/what you want, with webcam as input in realtime. Simply use mencoder (the encoder build by the mplayer team)
mencoder tv:// -tv driver=v4l:width=160:height=120 -ovc divx4 -o test.avi
Take care, that you should respect the width/height of the current webcam settings.
Tags: divx, webcam
admin January 21st, 2004
After using the same email address since 1996, i haven’t receive a lot of spam. But since I open this weblog, every days my mailbox is full of junk mail and other f*cking spam.
So yesterday i try this: http://spambayes.sourceforge.net/
It’s took me about ~10 min to install / train it. And YES ! it works perfectly, [...]
Tags: mail, sysadmin
admin December 13th, 2003
I’ve been hacking a part of the w-e w/ my firewall setting (mainly cause my firewall blocks my wifi network ..). Everything is fine right now, but i’m wondering what is the difference in satefull and stateless firewalls.
Here is a quote from Sun:
When talking about protocols it is possible to describe TCP as stateful and [...]
Tags: Network, sysad
admin December 3rd, 2003
I have been a long user of dialog ( mainly to write some small things w/ GUI for my girlfriend) and using KDE will perhaps be better no ? I guess so . Let’s give it a try:
http://developer.kde.org/documentation/tutorials/kdialog/t1.html
admin October 25th, 2003