Tuesday, March 29, 2011

Winner for a couple of hours

Hi all, felt really happy to be the first one to submit a solution to this spoj challenge. This is a challenge problem so the shorter the code, the more points. Well i did remain the winner till a couple of hours till my code length was beaten by numerix, who is one of the best python coders around.
Hoping to improve my code and learn more python.

Wednesday, March 9, 2011

DesktopAlarm_v2

Hi, recently working on making a better version of Desktop Speaking Alarm.
Here's the latest version.
Improvements:
1. The application now works in background once you set the timer.
2. The clock set is a 24 hour one.
Please leave you reviews.

Sunday, March 6, 2011

Fun with perl-- Terminal Animation

Here's some fun for you. Want to turn you terminal to a live aquarium with sharks and ships roaming around?? Here's what you need to do:
1. Install Term-Animation from here
2. Extract the package using tar -xvf filename
3. cd to the directory formed after extraction and run :
perl Makefile.PL && make && make test
4. sudo make install
5. Install AsciiAquarium from here.
6. cd to the directory and type sudo cp asciiquarium /usr/local/bin
7. sudo chmod 0755 /usr/local/bin/asciiquarium
8. Now to test the application , type:
/usr/local/bin/asciiquarium
or
perl /usr/local/bin/asciiquarium
Here's a screenshot of the animation:



That't it hope you enjoy!
P.S Source: nixcraft