Valentin F.R. David Photography, Software engineering

 

Toys

Those toys do not reflect my programming skills. They are just here because I have nowhere else to host them. If you are looking for the projects I am currently working on, please go on the software page.

Chords

The chords package provides an environment to write lyrics annotated with chords. The format is chordpro-like.

Chords package for LaTeX2e

Copyright © 2007 Valentin David

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Configuring a CDMA EV-DO modem

This small tarball helps you to install a CDMA EV-DO RevA modem under Linux using udev correctly. If you were an unlucky client of ice.no, you certainly discovered after some hours that the login/password given in the script they provide is wrong. After looking at the screenshots of the documentation for the Windows driver you eventually solved the problem. But it is still really annoying to have to launch all these scripts. Specially one has a bug and if you plug a memory stick, all your USB will be frozen for a while. Secondly, it is based on timeouts, plus vwdial, and it takes time to set up the connection.

So here, if you install it well, you may just need to plug the modem, and you will be connected with a persistent connection, that reconnects automatically when it stopped working (I do not know if you the same problems as me, it sometimes just stop working but works if you force restart of pppd). You need to change manually your /etc/ppp/chap-secrets and /etc/ppp/pap-secrets. For ice.no users, just put the line "cdma * cdma" in each of them.

The rule script for udev is on level 89. On my configuration, hald is on 90. I have two rules that match the mass storage of the modem and stop it before hald. Then, it does not mount automatically the driver CD image. If it still mount it, make sure that hald is not launched on a previous level.

Download the file: cdma.tar.bz2. Decompress, then type make install.

Posted on Sat, 03 Jan 2009 15:43:46 +0100.

deviantART refer comment

This script is inspired of script Flickr refer comment for Flickr. It prefills the comment text area with a reference to where the deviation was found.

Posted on Thu, 03 Dec 2009 21:19:18 +0100.