chirale

IT and beyond

Debian 6 comes with Scrapy 0.8 as downloadable packages on apt. Here a quick howto to get this spider works on Debian 6. sudo apt-get install python-scrapy cd mkdir mydir cd mydir scrapy-ctl startproject anime export SCRAPY_SETTINGS_MODULE=anime.settings export PYTHONPATH=/home/YOURHOMEHERE/mydir If you’ve already a bot but you, to run your spider thanks to point 6 and …

Continue reading

I wrote an article about transforming Raspberry Pi into a NAS to share files on a local network with an external usb storage: see technical details there, for brevity here just suppose you’ve a Raspberry PI  on local network with a USB drive attached. Since Raspberry PI has limited resources, my choice go to Transmission daemon. …

Continue reading

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 tracks: mkvmerge -i mymovie.mkv File ‘mymovie.mkv’: container: Matroska Track ID 1: video (V_MS/VFW/FOURCC, XVID) Track ID 2: audio (A_VORBIS) Track ID 3: audio (A_VORBIS) Track ID …

Continue reading

A little howto to quickly install and try Plone (a GPL’d CMS based on Zope) on your linux box. Well, the installer seems to do the job nicely. 🙂 Tested on Plone 3.* version, Debian “Lenny”. apt-get install g++ Download latest version of Plone (Unified Installer) Execute: tar zxvf Plone-YOURVERSION-UnifiedInstaller.tgz cd Plone-YOURVERSION-UnifiedInstaller ./install.sh standalone gedit …

Continue reading

Tested on Debian Lenny. Time elapsed before a working script < 10 minutes 😉 Install PEAR installer: # apt-get install php-pear First, type: pear -h to get help. On root shell type: # pear install –alldeps Image_Graph Install failed with error: Failed to download pear/Image_Graph within preferred state “stable”, latest release is version 0.7.2, stability …

Continue reading

While trying to update kernel in order to run Virtualbox, i got a weird resolution error. On OS boot, screen blanks with an error like “Resolution is beyond allowed limits”. Since this happens before GUI is loaded, Xorg is innocent. I’ve installed the 915resolution patch for a widescreen HP, but it’s innocent too. Well, this …

Continue reading

Tested on: Debian Etch, Lenny/Sid (Testing), kernel 2.6 Plug WG111 and type lsusb to verify hardware is plugged. You should get something like: Bus 003 Device 002: ID 0000:0000 NetGear, Inc. WG111 WiFi (v2) Bus 003 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 On root shell, …

Continue reading