-
Optimize Amarok collection indexing using MySQL
By default, Amarok use SQLite to store collection informations. If you’ve a running MySQL or Postgre server on your machine, you can optimize Amarok collection indexing reducing retrieval time. Open a root shell (sudo bash) and run mysql mysql> create database amarok; Query OK, 1 row affected (0.00 sec) mysql> grant all privileges on amarok.* […]
-
Use lightbox for all inline elements
Prerequisites: inline module lightbox2 module imagecache module You simply enable lightbox v2 on image nodes (admin/settings/lightbox2) but your lightbox show a small imagecache thumbnail? Disable lightbox on image nodes (admin/settings/lightbox2) Enable “Display image with a link to the image file” (admin/settings/inline) Apply this Inline lightbox patch This patch simply add a rel=”lightbox” to each inline […]
-
Make JCarousel and Contemplate work together
Drupal modules needed: JQuery Update* JCarousel* (read JCarousel documentation) Contemplate Image Cache (optional, for thumb rendering) Lightbox v2 (optional, for thumb zoom to original image) * = tested on latest official release Howto subject: How to use JCarousel within a Contemplate modified node body JCarousel is a nice JQuery plugin to render a vertical or […]
-
Create nice pdf with ps2pdf and any word processing utility
Apply on: any GNU/Linux distrubution Applications like OpenOffice allow to export document in the PDF format. However, sometimes the result is not very much professional. To obtain the best from your document in printing, you can follow a two-step conversion using any word processing utility. Use the option “Print to file” to convert your document […]
-
VirtualBox OSE Debian install howto
Tested under: GNU/Linux distro: Debian lenny/sid Kernel: 2.6 (2.6.22-3-k7) Architecture: AMD K7 (Athlon XP 1900+) Prerequisites: make sure you’ve selected both lenny and sid repositories. In your /etc/apt/sources.list you must read something like this: ## Debian Unstable (sid) deb http://ftp.it.debian.org/debian/ sid main contrib non-free deb-src http://ftp.it.debian.org/debian/ sid main contrib non-free ## Debian Testing (lenny) deb […]