Archive for the ‘web 2.0’ Category

update and retrieve twitter timeline from linux shell

January 24, 2009 8 comments

you can update your twitter status and follow feeds using linux shell, this is a quick tip for linux lover’s, this is the reason i prefer linux over other operating systems is it’s total usefullnes,

to post your status on twitter type:

curl -s -u username:password -d status="your_status_message goes here" > /dev/null

replace username, password and message to post with the your own.

to follow feeds from twitter.

curl -s -u username:password | grep title | sed -e 's/]*>//g'

replace username and password with your own. above command will retrieve recent rss entries from your twitter timeline.

one more cool thing you can do with this long command is to enclose it put it in a text file, let’s say “/usr/local/bin/get-twits” and make it exectuable by issuing

chmod a+x /usr/local/bin/get-twits

now open a new terminal windows and type:  watch --interval=60 get-twits

this command will keep your terminal windows updated with recent twitter updates.

enjoy 🙂


mozilla ubiquity — connecting web with languages

December 2, 2008 2 comments

Mozilla recently released prototype software called Ubiquity that aims to make it easier to combine data in the Web browser.
more here:

Categories: web 2.0 Tags: ,

website hacked and used for phishing scam

November 26, 2008 2 comments

Yesterday one of my friend called me up and said, “hey, I am in a big trouble, don’t know when (probably few days earlier) some one hacked my website and used it for Citibank phishing scam, and today I got an email from domain registrar that the domain name is suspended, because their had been several complaints of spam and citibank scam, can you please login to my server and analyse logs and inspect when and how all this happened”.

It was a horrible news for me because it was me who helped him setting up Apache virtual hosts, ftp and other stuff on his server, it’s a dedicated server with Debian Etch 4.0 running on it, after inspecting Apache logs it broke out to me that his server was poisoned with a C99 shell script, this script was injected due to a remote file inclusion vulnerability in his PHP code, for those who don’t know much about what is C99 and how Remote File Inclusion works,  check this link.

It’s really ridiculous if your website get hacked and is being used for a scam, so after a little search i found some interesting articles/posts explaining possible ways to protect your website from such vulnerabilities. If you are running a  website you must check out these links

more over, i will greatly appriciate if you have any advice/tips/story to share 🙂

gmail voice and video chat

November 26, 2008 Leave a comment

Once again google takes the lead, Google’s email service gmail launched it’s voice and video chat service, high quality voice and video chat service works over web, no need to install any application like skype or yahoo messenter, works perfect in full screen mode as well.

From Google Blog:

Just click on the new “Video & more” menu in a Gmail chat window and select “Start video chat” or “Start voice chat.” You can switch to a full screen view or pop out the chat window and change the size and positioning as you wish.

Google Voice and Video Chat

Google Voice and Video Chat

if you haven’t tried it yet, go to and try it out your self

facebook like autocomplete script

November 24, 2008 Leave a comment