Movies to watch during new year vacation

Tagged: Something Else Date: 12th, November 2009

This list is mostly for personal use, but if it helped u I’m glad :).
2012 – Global cataclysm, seems nice and different.
Couples Retreat – Comedy – After watching few trailers this might be the really nice move, funny (in embarrassing way)
The Men Who Stare at Goats – This looks awesome! Been waiting for Kevin to [...]

Tune-up (speed up) Eclipse

Tagged: Something Else Date: 12th, May 2009

Another note to self…
If your PC (mac or whatever crap u have there :P) has 1gb of ram use following flags when running eclipse:
-vmargs -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m
If you have any more ram on your setup replace 512 with [amount of ram]/2 and 128 with [amount of ram]/4 and you will get decent results.
PS.
Assigning more [...]

Aptana (eclipse) YUI compressor

Tagged: JavaScript Date: 24th, February 2009

This post is mostly note to self… but some may find it useful.
For javascript compression, merging etc on Aptana (…eclipse…) use:
http://www.rockstarapps.com/joomla-1.5.8/products/downloads.html

Bash job queuing: Task Spooler

Tagged: Programming, Ubuntu Date: 9th, February 2009

Today I found nifty little tool for queuing bash jobs, Task Spooler.
Imagine you hava list of jobs that are dependant on each other.
First job converts video from one format to another, second job should trigger if first job was successful and do some status updating. This is exactly a thing Task Spooler will help you [...]

toGDImage() broken: Patching ffmpeg-php 0.6.0

Tagged: PHP, Programming, Ubuntu Date: 8th, February 2009

As fallow-up to previous post (link).

After toying with fresh ffmpeg-php 0.6.0 I kept getting error:
Fatal error: failed to convert frame to gd image

Problem lies in broken function _php_avframe_to_gd_image in ffmpeg_frame.c, in the base ffmpeg-php package.
To fix this problem download this patch file and apply it to ffmpeg_frame.c like so:

cd /path/to/ffmpeg-php-0.6.0/
wget http://hazaah.com/download/ffmpeg_frame.c.patch
patch -p0 ffmpeg_frame.c < ffmpeg_frame.c.patch

Reinstall [...]