Posts

User Level Threads

…  1st Time\n"); fflush(stdout); int local = 0; int lID = ID++; while(1) { printf("Function %d Running\n",lID); sleep(SLEEP_TIME); yield(); printf("Function %d Incrementing Local=%d,Global=%d\n",lID,local++,global++); sleep(SLEEP_TIME); printf("Function %d …

Auto Away Notifier for Pidgin in Perl

…  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 …  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 …

Pass cookie from script to firefox

…  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 …