Archive for March 2007
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
.
Can’t hide from self !!!
Whereever you go, there will always be you !!!
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
Finding the non duplicate number in an array of 2n+1 numbers
Programming :-
You are given an array of numbers, of size 2n + 1 . Now n of them are repeated, i.e there are n pairs of same number and a single number that does not have any pair. Find the number that does not have any pair. Try to keep the complexity to O(n) .
Eg .
The elements in the array can be :-
1 2 3 2 1 3 5
You want to output to be
5
3D Desktop on Ubuntu using Beryl (video)
Found this awesome video on Youtube of an Ubuntu 3d desktop running Beryl.
Collaboration : BaseCamp Vs ActiveCollab
I always found basecamp very interesting (specially when it comes to it’s history regarding Ruby and Rails), but the cost factor kinda always rang a bell. Until recently I found a very promising alternative to it. Try using ActiveCollab
My First Post
There will be mostly trash in this !!!!