Install Wireless Wifi drivers on Sony Vaio CW on Linux Ubuntu
Out of the box Ubuntu 9.10 wireless/wifi did not work on my Sony Vaio CW Series (VPCCW26FG), The following error message is shown on start up and on dmesg command.
Could not read microcode: -2
The solution was to install backports modules
Installing Wireless Drivers on Ubuntu
In order to make wireless (WiFi) work on the new Sony Vaio CW series, you have to run the following commands on Ubuntu 9.10 Karmic.
sudo apt-get clean ...
Published 3 years, 8 months ago
the code below.
Requires: WWW::Mechanize module
Usage: ./pnr.pl <PNR NUMBER>
EDIT: The Railways have changed their interface, so the script also have changed.
my $mech = WWW::Mechanize->new();
$pnr = $ARGV;
$part1 = substr($pnr,0,3);
$part2 = substr($pnr,3);
print " Fetching for PNR $part1-$part2 \n\n";
Published 3 years, 10 months ago
Removing index.php From URL in CodeIgniter
In Code Ignitor by default all URLs except the default home contains "index.php" by default in the URL, For example http://localhost/index.php/class/function.
In order to make the URLs "cleaner", we have to remove "index.php" from the URL. This is done using the mod_rewrite module
in apache to redirect all traffic to index.php/. The following code inside .htaccess does the redirection.
Code Igniter .htaccess Rules ...
Published 3 years, 9 months ago
/hddCroot@localhost ]# mount -t vfat /dev/sda8 /mnt/hddCNTFSInstall ntfs-3g module
by yum install ntfs-3groot@localhost ]# mount -t ntfs-3g /dev/sda5 /mnt/hddD -o forceUnmounting the File System@localhost ~]$ suPassword: root@localhost ]# umount /dev/sda8Automatcially Mounting File Systems : To automatically mount certain file systems, so that we do not want to do the same procedure each time the computer starts, we have to edit the /etc/fstab file. To edit the same you must have root access. Assuming you have root access ...
Published 6 years, 8 months ago
: %s\n",$sl[$i],$sl[$i+5]);}$mech->get("../logout.jsp");InstallationOn LinuxCopy paste to a new file data1.plInstall WWW::Mechanize if not already installed.Download WWW-Mechanize-1.XX.tar.gzDo the following in a terminaltar -xvvf WWW-Mechanize-1.XX.tar.gzcd WWW-Mechanize-1.XXperl Makefile.PLmakesudo make installchmod 755 data1.plOn WindowsCopy paste to a new file data1.plGet Active Perl and install if PERL is not installed.Install Module
WWW::Mechanize.UsageLinux./data1.pl OptionsWindows, not TESTEDperl data1.pl OptionsPS : Comment `stty` lines when using ...
Published 5 years, 5 months ago
"Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" InputDevice "Generic Keyboard" "CoreKeyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad"EndSectionSection "Module"
Load "glx"EndSectionSection "ServerFlags" Option "Xinerama" "0"EndSectionSection "InputDevice" Identifier "Generic Keyboard" ...
Published 5 years, 5 months ago
the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules
it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include ...
Published 6 years, 11 months ago
Orkut Perl Script - Login, Scrapper and more
IntroThis is a PERL script that logs you into Orkut and allows you to scrap yiur friends. Following is the program and beneath it lies the manual to use the program. I assume that you already have PERL installed on your system with the required modules
:LWPWWW::MechanizeProgram#! /usr/bin/perl -wuse WWW::Mechanize;use HTTP::Cookies;use HTTP::Request::Common;use subs qw(print_c login logout home grab proces scrap);#autoflush STDOUT 1;printf ...
Published 6 years, 5 months ago