Wednesday, May 21, 2008

sed + xargs + inkscape

to make a batch exporting of SVGs to PNGs at a specific size:

foo.sh:
#!/bin/sh

PNG=`echo $1 | sed s/scalable/$2x$2/ | sed s/.svg/.png/`
DIR=`dirname $PNG`

mkdir -p $DIR
inkscape $1 --export-png=$PNG -w$2 -h$2

and at the shell:
$ find . -iname *.svg | xargs -i ./foo.sh {} 32

Friday, May 09, 2008

The new Ubuntu website banner

renders its bad way of marketing!


  • You advertise your operating system by featuring the uninstaller?
  • "(Note that you'll need it)"?!?
(*) the 'e' is added by me, not them. But does it make a difference?

Sunday, July 29, 2007

Source controls explained

  • CVS: Si Vi Ếch
  • SVN: Si Vi Nhái
Copyright by BoBo :|

Monday, July 16, 2007

This is a test entry using gnome blog poster

Just to try the gnome-blog-poster after yumming.

Sunday, June 03, 2007

Nghỉ Pyco

(This entry was closed due to unnecessary quotes in other websites. The comments are still there for you in case you want to read)

Monday, May 14, 2007

There is only one word about the pidgin logo

ugly!

http://pidgin.im/~seanegan/pidgin.png

it's pidgin but it doesn't mean that you have you put that ugly pigeon in your logo x-(

Pidgin for Fedora Core 4, 5, 6 users

At your root shell:

# cd cd /etc/yum.repos.d/
# wget http://garimbo.org/rpms/fedora/pidgin.repo
# yum -y install pidgin