Yesterday I played cageball and was injured. A player of the oposite side kicked my leg instead of the ball. I managed to finish the game but today when I visited the hospital because my foot was swelling I was suprised to find out I broke my toe and the little finger.
So today at 27 years old I got my first casts.
Not cool :(
Posted in Other, 1 Comments
Today I added akismet comment spam protection to my blog thanks to this article by Kommen. Now I'm in the process of deciding if to implement blog apis (blogger etc.).
Any suggestion is appreciated.
Update: I've replaced the akismet library with the akismet plugin :)
Posted in Rails, 0 Comments
I haven't bloged for almost three weeks now. That's because I've had some deadlines at work.
I've programmed in plain asp, C# done some SQL data imports and exports and had to resist the temptation to "send" our clients in some very nice places :).
This Friday is Call of Duty 1.51 time. At the firm we are reestablishing the so called "COD" Friday. The "COD" Friday is just training for what is coming on Saturday. On Saturday is paintball day. Real fighting, not virtual one. See you in the trenches :)
Posted in Other, 1 Comments
Here are some useful tips & tricks I frequently use:
VIM search/replace commands
replace the first 'old' in a line with 'new' :s/old/new
replace all 'old's on a line with 'new' :s/old/new/g
replace all occurrences in the file :%s/old/new/g
confirmation each time :%s/old/new/gc
flv to mpeg4
ffmpeg -i v.flv -s 320×240 -r 15.00 -b 300 -f avi -vcodec mpeg4 v.avi
Extract audio
mplayer -dumpstream v.avi
mplayer -ao pcm stream.dump
subversion add multiple files
svn st | grep "^?" | awk '{ print $2 }' | while read f; do svn add $f;done
subversion remove multiple files (non existent)
svn st | grep "^\!" | awk '{ print $2 }' | while read f; do svn delete $f; done
The adventure of developing my own little blog engine is going better than i previously thought.
Today I finished implementing a simple gallery using acts_as_attachment plugin. I was amazed how easy was to develop it. Now I'll do code cleanup and refactoring and after that ajax support when viewing photos and commenting posts. That will be version 1.0.
Posted in Rails, 2 Comments

Full name: Ivica Munitic
Age: 30
Profession: Developer
Email: ivica@munitic.com.hr