Archive for February, 2008

Download youtube videos

Sunday, February 17th, 2008

To download all videos from a youtube user, use this shell script:

Source Code.

HOWTO:

$> youtube_down_all.sh <youtube_username> <destination_directory>

To convert flv files to other format, you can use ffmpeg.

Send Get Images

Sunday, February 17th, 2008

If you want to send some images from a webpage you just need to use this shell script.

Source Code.

Rename it to: send_get_images.sh
chmod +x send_get_images.sh

It uses “mutt” or “mail”, but the last one doesn’t work very well :\

HOWTO:

$> send_get_images.sh <url> <match_keyword> <mail_to>

Ex:

$> send_get_images.sh http://www.example.com  angelina mail@example.com

Enjoy ;-)

Thumbnails generator

Sunday, February 17th, 2008

A shell script to generate thumbnails from all JPG images of a directory.

Source Code

Rename it to: gen_thumbnails.sh

chmod +x gen_thumbnails.sh

HOW TO:

$> gen_thumbnails.sh <max_dim> <optional_thumb_prefix>

Mobile

Sunday, February 17th, 2008

This is a project made to me and myself :-)

mobile.pdvel.com.

For more mobile stuff I recommend SAPO Mobile.
If you want a mobile feed reader check out MobiFeeds by André Luis

Sudoku

Sunday, February 17th, 2008

Do you like the famous game Sudoku?

Ok, you can play it just using your mouse.

Check out: Sudoku.

Web HangMan

Sunday, February 17th, 2008

This was my first AJAX work. In the middle of 2004 I knew XMLHttpRequest, and decided to make something.

This is the known game HangMan, in portuguese “Jogo do Enforcado”.

The link:
http://dev.pdvel.com/enforcado/

The design sucks, the images suck too and the code… well, it was an experiment ;-)

The game only has Portuguese words.

Hello world!

Saturday, February 16th, 2008

Organization is not my thing, but I decided to organize my dev stuff.

For now, lemme say: Bruno, Vitor, Nuno, Ricardo and Patrícia, thanks for the support. :-)