Gearman – Can't call method "syswrite" on an undefined value at /usr/local/share/perl/5.10.1/Gearman/Taskset.pm line 202.

If you get the following error while running the client code : Can’t call method “syswrite” on an undefined value at /usr/local/share/perl/5.10.1/Gearman/Taskset.pm line 202. … then change this $client->job_servers('127.0.0.1'); to $client->job_servers('127.0.0.1:4730'); thats it ! 🙂

31 August 2010 · Shafiq Alibhai

Ipad is a … ?

What is the iPad? Exploring Apple’s tablet device and its capabilities.

10 July 2010 · Shafiq Alibhai

Preserve File Permissions While Copying Files in Linux

Following is the command : cp -p /aaa/bbb /ccc/ddd

14 June 2010 · Shafiq Alibhai

How to tell the difference between slash and backslash

jordanlund 4 points 1 year ago[-] Confession time… I always get confused about which one is the slash and which one is the backslash. I end up calling them “the one on the question mark” and “the one not on the question mark”. Or / and \ for short. zem 45 points 1 year ago[-] Here’s a simple trick: \ leans back / leans forward grantrules 27 points 1 year ago[-] _ is a slash that got tired and lay down. ...

2 April 2010 · Shafiq Alibhai

GNUSL3S LINUX OS

Description: GNUSL3S LINUX OS is a versatile and comprehensive distribution that comes with a rich selection of pre-installed software for various purposes. Whether you are a molecular biologist, an IT security professional, a system administrator, or a home server user, you will find the tools and applications you need in this distribution. You can boot from the DVD and enjoy a user-friendly graphical interface, useful recovery tools, and current libraries. You can also access bioinformatics applications like EMBOSS and Primer3, security tools for penetration testing and vulnerability analysis, and unofficial network drivers that support many wired and wireless cards. If you want to develop or compile your own software, you will also find a full range of development tools and editors. GNUSL3S LINUX OS is designed to meet your needs and preferences with ease and flexibility. ...

29 March 2010 · Shafiq Alibhai

Typo3 Reference Manuals – A Google Chrome Extension

I am happy to share with you my first Google Chrome extension. It is a collection of Typo3 reference manuals that I have compiled from the typo3.org website. It may not be the coolest extension out there, but it has been useful to me. 🙂 This Google Chrome extension is for: • Those who have a slow or unreliable internet connection. For example, in India. • And those who prefer to stay in the browser while reading or searching something in the Typo3 swx reference manuals. ...

27 March 2010 · Shafiq Alibhai

How to Identify Your Linux Distribution and Version with Simple Commands

If you are using a Linux-based operating system and you want to know which specific distribution and version you have installed, there is a simple command that can help you with that. Just open a terminal window and type the following: cat /etc/issue This will display the name and the release number of your Linux distribution. For example, if you are using Debian 4.0, the output will look like this: ...

23 March 2010 · Shafiq Alibhai

How to Install PHP 5.3.1 on Ubuntu 64 bit and 32 bit

…yes just 2 lines For Ubuntu x64 sudo su cd /tmp && mkdir php53 && cd php53 && wget && wget && dpkg -i *.deb && echo "deb http://php53.dotdeb.org stable all" >> /etc/apt/sources.list && aptitude update && aptitude install libapache2-mod-php5=5.3.1 apache2 For Ubuntu 32 bit i386 sudo su cd /tmp && mkdir php53 && cd php53 && wget && wget && dpkg -i *.deb && echo "deb http://php53.dotdeb.org stable all" >> /etc/apt/sources.list && aptitude update && aptitude install libapache2-mod-php5=5.3.1 apache2 ...

17 March 2010 · Shafiq Alibhai

Perl – How to Read a Text File into a Variable – 6 ways to do it

6 Ways to Read a Text File into a Variable If you are working with large file(s) you might consider using File::Slurp. It is much fast than the conventional: { local $/=undef; open FILE, "myfile" or die "Couldn't open file: $!"; binmode FILE; $string = <FILE>; close FILE; } { local $/=undef; open FILE, "myfile" or die "Couldn't open file: $!"; $string = <FILE>; close FILE; } open FILE, "myfile" or die "Couldn't open file: $!"; $string = join("", <FILE>); close FILE; open FILE, "myfile" or die "Couldn't open file: $!"; while (<FILE>){ $string .= $_; } close FILE; open( FH, "sample.txt") || die("Error: $!\n"); read(FH, $data, 2000); close FH; The format for the read function is: ...

15 March 2010 · Shafiq Alibhai

Hack Proof Encryption ? read on…

The point of using encryption and other cryptographic methods isn’t to create a 100-percent foolproof, uncrackable system. The only positively unhackable system is a computer that’s turned off, and even that isn’t a guarantee because someone might be able to physically walk up to it, turn it on, and hack it. The point of all this work is to make it so difficult to get at sensitive data that hackers don’t even try, or they move on after a few failed attempts.

23 February 2010 · Shafiq Alibhai