Archive for category perl

Auto Away Notifier for Pidgin in Perl

Whenever I am away from laptop my chat buddies leave me lots message and finally lots of “You there???”. So I thought of making a script that would inform my buddies that I am away when someone sends me a message.
This method works with Pigin API.
I have used /proc/acpi/button/lid/C267/state file to find if the lib of the laptop is closed or not. This file may vary in your laptop. So try to find the find the file in your computer that stores the status of the lid. It should be a file in /proc/acpi/button/lid/ folder and replace the file accordingly in your computer.
The Content of /proc/acpi/button/lid/C267/state is state: open and state: closed when the lid was closed.

Continue reading “Auto Away Notifier for Pidgin in Perl” »

, , , , , , , , , , ,


Display Reminders In Gnome Panel

It was a long standing requirement of mine to create a reminder software or something which can keep me reminding of things as I always keep forgetting things. So I made a reminder that displays my reminders on the Gnome Panel.
It looks something like this: Continue reading “Display Reminders In Gnome Panel” »

, , , , ,

No Comments

Find Invisible Users In Gmail

Finding who is invisible is something that I always wanted to do.It’s always fun to ping a person who feels none can see him/her online. While studying XMPP protocol I found out that even when the person is offline the chat client knows that person is online.
The Chat Client should know who all are really online at any given time.This is because even when the person is invisible he/she should have a buddy list showing online users.

Continue reading “Find Invisible Users In Gmail” »

, , , , , , ,


Backend For Panel Reminder

I had already posted about creating a Display Reminders In Gnome Panel. This post is an addition to that script. This is a backend script that writes what to print into the panel_remind file. I use this script to print Birthday Reminder and Things to remember of which I will be posting shortly.
So the Code is simple Perl script.

Continue reading “Backend For Panel Reminder” »

, , , , , ,

No Comments

Pass cookie from script to firefox

I had a requirement to get firefox to open a logged in page in firefox. I used it for automated opening of some logged in pages. But there is another use for it. It can be used for opening mail or any other site that needs to be logged in. The only issue, this method works on sites that relies on cookies only. This is fine as almost all websites run using cookies. So what the script does is, it has the username and passwords. It logs into your account and gets the cookie and passes the cookie to your browser. So when we open the page again in browser it already has valid cookie and there is no need to login. You will go thought to the logged in page and thats it. You just need to run the script and you can make the script to take any number of sites. Currently I have configured only to automate for Yahoo! . It can be easily extended to add any more sites.

Continue reading “Pass cookie from script to firefox” »

, , , , , , , , ,