Inspirational Poem
Found this one online .. The poet however I am still not sure of ….

Ubuntu 7.10 (Gusty Gibbon) – Pehla Jhatka !!!
I have always been an avid Ubuntu fan. Not because I have met Mark Shuttleworth in person ( Yes I have !!! ) but because of its hassle free installation.
But ubuntu 7.10 was the pehla jhatka !!! Ubuntu supposedly failed to detect my graphic settings and I got a blank screen.
I have a Samtron 56v monitor with a VIA S3G graphics (onboard) controller.
Here’s how got it working :-
- Boot in the safe mode
- run :- sudo dpkg-reconfigure xserver-xorg
- goto the /etc/X11 directory. If you have multiple xorg.conf files then rename the one you just made to xorg.conf. Delete or backup the other files .
- reboot your system !!!
I heard that there are issues with other CRT monitors as well. Probably due to integration of the Compiz Fusion 3d Desktop in this release.
I would advice all who are happy with their previous installations of Ubuntu to keep a backup of the /etc/X11/xorg.conf file. I might be your only easy way out.
Learnings :)
If something can go wrong it will at the worst possible time !!!
Sometimes it’s not your skill that matters, it’s your zeal and team spirit that works for you. A good team can do wonders
Setting up a home LAN, for internet access etc
Very simple actually,
I have an Airtel Broadband connection which provides me with an ASDL modem.
Just configure your modem, so that it gets an IP address independent from the computer, basically you dont have to dial a connection from your computer. Please call the customer service on how to do this.
The rest is simple. Get a Ethernet Switch (I used a D Link DES 1008v) , on one port connect the ASDL modem and on others plug your computer. Please dont use the upload slot is any and try to use straight cables to do all the connections. Your LAN should work fine.
(If you are trying to use the upload link, probably you would need a cross LAN cable then) .
Now you can go ahead and setup workgroups etc.
Presentations from the DrupalCon
One thing that drives me crazy about Drupal, is that it’s tough for one to find the right documentation or support “easily”.
Anyways .. found these good links to the recording of DrupalCon :-
Drupal Hack :- If you want only an admin login
I was playing around with drupal recently, when I kinda stumbled on this problem :-
“I want to have a site which is more like an information site, and I don’t want any user registration on my site. So I won’t have user login block on my main page. But I do want to change the themes, manage content etc, and therefore I need a way to do an admin login.”
This is what I did :-
Goto the block management on your site , and disable the user login from the left side bar.
Leave the Navigation block intact.
Now log out of the site.
You don’t see the user login block on your site anymore.
To login to your site, you can use a link like :-
http://localhost/tabletesting/?q=user/login
PS: This might change if you are using clean URLs on your Drupal site.
OK … probably not something great … but I just found this interesting and useful for a novice who won’t open the user module and look at the hook_menu implementation and then discover that this is what he needs to do
.
RED/GREEN/BLUE balls
You are a vendor having some balls:-
1) 1994 RED balls
2) 1995 GREEN balls
3) 1996 BLUE balls
now if you tak two balls of different colors , then you can convert them to 1 ball of the third color
eg. one RED and one GREEN ball combine to form one BLUE ball
now you have to convert all the balls into one single color.
How will you do this ?
Sum of two numbers in an array to be equal to K
You are given an array of numbers, and a constant K.
You need to find two elements from the array whose SUM is equal to K . (all such pairs)
Eg .
Let the array be
1 2 3 4 and the constant be 7 ,
then your output should be 3 and 4
