This little script automates the dump of your DAViCal database : #!/bin/sh PATH=/bin:/usr/bin export PATH backup_location=/data/backups/davical now=`date “+%Y.%m.%d_%H.%M.%S”` backup_file=$backup_location/davical_$now.pgdump su – postgres -c “pg_dump -Fc davical > $backup_file” gzip $backup_file # remove old backups find $backup_location -type f -name “davical_*.pgdump.gz” -mtime +30 -exec rm {} \; exit 0 Install it as /etc/cron.daily/davical_backup on your Linux [...]
¶
Posted 22 January 2010
§
‡
°
DAViCal is an implementation of the CALDAV standard. It’s open source, developed by Andrew McMillan, and quite simple to install if you know a few bits of Apache configuration. I got it working with two iCal instances and 2 iPhones (wife and me), with a few shared calendars for family and kids stuff. In version [...]
¶
Posted 22 January 2010
§
‡
°
Two CCIE’s trying to solve a multicast issue, half an hour before getting drunk during the X-mas party.
¶
Posted 23 December 2009
§
fun
‡
°
If you have a Cisco device with an extremely long interface description, NMS platforms and tools (like snmpget and snmpwalk) only shows the first 64 bytes of the ifAlias field. To lift this limitation, use this command : snmp ifmib ifalias long The limit is then rised to the MIB maximum for DisplayString (255 bytes). [...]
¶
Posted 22 December 2009
§
‡
°
I bought this label printer based on the OS X and Linux support. Respect to Brother for their multi-platform drivers, other manufacturers ignore anything beside Window$. The printer comes with a cool software called P-touch Editor. I downloaded the software online, but when using the version for OS X 10.5.x (Leopard), it always crashed with [...]
¶
Posted 17 October 2009
§
‡
°
The MacBook Pro 15″ is nice, but to be perfect, it would need : a higher resolution screen. 1440×900 is too low, 1600×1050 would do better. And antiglare please. I’m buying a laptop, not a TV set. 3 or 4 USB ports, not 2. a SSD (say 128 Gb) and a hard-disc (500 Gb). The [...]
¶
Posted 14 October 2009
§
‡
°
Comme en 2008 et 2009, voici le calendrier des jours fériés 2010 en Suisse pour iCal en format ics. Mode d’emploi : télécharger sur votre Mac dézipper démarrer iCal importer le fichier .ics dans votre calendrier feries_2010_suisse.ics.zip Corrections et compléments bienvenus, mon email se trouve dans la page “About me”, ou alors sous forme de [...]
¶
Posted 22 September 2009
§
‡
°
My home loudspeakers (MB Quart 280) are slowly dying. One of the tweeters makes strange noise, they are about 20 years old anyway, so they deserve a replacement. I have studied the market a lot. One key is of course WAF (Wife Acceptance Factor), so I settled my choice on a 2.1 system, with two [...]
¶
Posted 14 September 2009
§
‡
°
Yeah, this is my office colleague trying his winter jacket, even if it’s still summer here. No wonder why almost everyone think IT guys are nuts.
¶
Posted 02 September 2009
§
fun
‡
°
I’m no big fan of commercial database product. Oracle is a complicated beast, and I have never completely understood why big companies use such a complicated and expensive product to store small databases. A DBA friend of mine said that 90% of the databases he has seen in the last 10 years could be done [...]
¶
Posted 19 August 2009
§
‡
°