Howto extract tracks from mkv and avi
This howto requires: mplayer mkvtoolnix your Linux box Audio from Avi files (es. Xvid + MP3): mplayer -dumpaudio "mymovie.avi" -dumpfile mymovie_audio_track.mp3 Tracks from Matroska MKV file: List all...
View ArticleHowto merge two torrent files
Update October, 2010: before trying this howto, I suggest to try mergetorrent. It’s free software, released under GNU GPL by Eyal (read comments) and it’s simpler than the method described below. Thank...
View ArticleTheme a multiple CCK field with a table
Sometimes CCK contrib modules cannot do exactly what you want. It’s time to build your custom CCK field! Official documentation on CCK fields creation for Drupal 6 is incomplete and some passages are...
View ArticleDisable upload and comment for a new content type programmatically
Following code is useful when installing a module that create a new content type programmatically on Drupal 6.x. Basically, it adds two variables setting default values for comments (core Comment...
View ArticleHow to automatically translate your Drupal module
You’ve created your module. But how to translate it into different languages? Tested with: Translation template extractor 6.x-3.0 Drupal 6.x English default + Italian translation Prerequisites: Another...
View ArticleHow to edit a PDF file with Open Office
Some months ago I’ve looked for a decent PDF editor for Linux. Results? Only an application called PDFedit was interesenting enought. Now, an extension (plugin) for the cross platform suite Open Office...
View ArticleLocalize date format using i18n
Tested on: Drupal 6.16+ Date API 6.x-2.4 Internationalization 6.x-1.3 Any date format is stored as system variable (on the global $conf variable). Since Internationalization module allows to declare...
View ArticleTurn Raspberry into a small NAS with samba
I got a Raspberry Pi Model B. It’s cheap and I want to do some experiments for fun. Experiment #1: I have a 1T external HDD (FAT) and I want to turn Raspberry into a very basic NAS. I used: 1 External...
View ArticleDjango development on Virtualbox: step by step setup
I had a bad morning trying to repair my Cygwin installation from a virtualenv mess. It’s time to get a Debian and install it on a Virtualbox for my new django project! Windows: host Debian: guest...
View ArticlePair view fields content on a Drupal 7 view quick howto
Valid for: Drupal 7, Views 3. I have two multiple text fields on a Drupal 7 content type. I want to display those fields paired by delta in a view. Here the code I used in my module named...
View Article
More Pages to Explore .....