Dokeos cPanel upgrade checklist

This is a draft list of what you need to think of when you upgrade a Dokeos from a cPanel install...
  • check you have the sufficient login information to access the Dokeos portal, the cPanel files manager and the cPanel MySQL account for the corresponding Dokeos portal
  • connect to the cPanel server
  • take a backup of the database (possibly through phpMyAdmin if there is no easier way) and download it on your computer (safeguard)
  • connect to the file manager
  • if possible compress the whole Dokeos directory (after a check to see if archive is not filled w

One week until 1.8.6 stable

Regular readers will start to think that I like giving delays that I cannot respect. To be on the *safe* side, I'd like them to know that customers always have priority over the software, which gives me a good excuse to be late on delivering the public version of Dokeos 1.8.6 :-) Alternatively, customers are the ones investing into Dokeos and allowing us to develop a great product. So thank you, dear customer.

Added Occitan as one of Dokeos languages

Pèire Brechet, of Marseille, France, asked me to be allowed to translate Dokeos to Occitan, an antique language from the borders of France, Spain and Italy. With Friulian, Esperanto and Cusquenian Quechua, this makes for our fourth "special language" integrated into Dokeos. There's still a lot of work to be done to get these languages to become a full translation, though... Heads up, and let's go for 1.8.6!

Quick Perl Regexp in VIM to format e-mails list

I have a list of e-mails that I extracted from MySQL as something like this: name@example.com firstname lastname name2@example.com firstname2 lastname2 name3@example.com firstname3 lastname3 and I want them to be in this format: firstname lastname firsntame2 lastname2 firstname3 lastname3 Using VIM, I can do: :% s/^/ / :% s/()s(w*)s(.*$)/2 3 1/ The last one is a bit more complex but uses the n-style references to parenthesed elements in the matching part.

Quick Perl Regexp in VIM to format e-mails list

I have a list of e-mails that I extracted from MySQL as something like this:
name@example.com firstname lastname name2@example.com firstname2 lastname2 name3@example.com firstname3 lastname3
and I want them to be in this format:
firstname lastname <name@example.com> firsntame2 lastname2 <name2@example.com> firstname3 lastname3 <name3@example.com>
Using VIM, I can do:
:% s/^/</ :% s/s/> / :% s/(<.*>)s(w*)s(.*$)/2 3 1/
The last one is a bit more complex but uses the n-style references t