everything about machines

January 24, 2009

update and retrieve twitter timeline from linux shell

Filed under: instant messaging, linux, web 2.0 — Tags: , , , , — cyrenity @ 6:01 pm

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" http://twitter.com/statuses/update.xml > /dev/null

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

to follow feeds from twitter.

curl -s -u username:password http://twitter.com/statuses/friends_timeline.rss | 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 :-)

December 27, 2008

open source social networking with elgg

Filed under: open source, web 2.0 — Tags: , , , , — cyrenity @ 7:22 am

if you are planning to create your own social networking website, instead of working from scratch, check out Elgg. Elgg is an open source social networking platform.

from their website:

“Elgg is an open, flexible social networking engine, designed to run at the heart of any socially-aware application. Building on Elgg is easy, and because the engine handles common web application and social functionality for you, you can concentrate on developing your idea.”

Elgg can be extended through plugins, plugins provide ways of adding functionality to Elgg like facebook applications.

December 2, 2008

mozilla ubiquity — connecting web with languages

Filed under: web 2.0 — Tags: , — cyrenity @ 12:04 pm

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

http://labs.mozilla.com/2008/08/introducing-ubiquity/

November 26, 2008

website hacked and used for phishing scam

Filed under: security, web 2.0 — Tags: , , , , — cyrenity @ 2:22 pm

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

Filed under: web 2.0 — Tags: , , , , — cyrenity @ 3:46 am

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 http://mail.google.com/videochat and try it out your self

November 24, 2008

facebook like autocomplete script

Filed under: ajax, web 2.0 — Tags: , , , , , — cyrenity @ 4:44 pm

Blog at WordPress.com.