31 Jan, 2007  |  Posted by Danesh  |  in Cool Stuff

tattooed-daugther.jpg

Awesome picture.

The photograph was taken by photographer Bruce Osborn during an interview about inter-generational tattoos.

“Her parents were tattooists and the girl got a huge shock when she entered a sent?, a public bath, for the first time. Until that event it was in her mind that all the adults must have tattoos. Everybody around the house had some and it was a very natural thing for her.” words from Bruce.

My parents would freak out on this…. but I think the idea will eventually start to sink in. The girl sends out a power message.

Original post at  boingboing

29 Jan, 2007  |  Posted by Danesh  |  in Linux

Today’s kernels are moving towards initramfs type initrd files. Initramfs is basicly a cpio archive so all we have to do is uncompress it’s contents to a temp folder.

The example below uses the file initrd.SLES10.x64.img from a SLES 10 implementaion.

#create a temp directory
>mkdir /tmp/initramfstmp
>cd /tmp/initramfstmp

#copy the initrd file to the temp folder
>cp initrd.SLES10.x64 /tmp/initramfstmp/initrd.SLES10.x64.img.gz

#uncompress the image file
>gunzip -v /tmp/initramfstmp/initrd.SLES10.x64.img.gz

#extract the contents of the cpio archive
>cpio -i < /tmp/initramfstmp/initrd.SLES10.x64.img

#list directory
>ls -l
View actually out put on next page:

Continue Reading ->

26 Jan, 2007  |  Posted by Danesh  |  in Cool Stuff

flash-element-td.pngA game based on Warcraft TD and desinged by David Scott.

If you have spare time or feel stressed as I do mostly all the time nowadays then this the game you should be playing. The idea of the game is to build towers in strategic areas on the map and prevent the creeps from moving forward. Involves quite good amount of thinking and strategy. Trust me once you start they ain’t no turning back!!

Play the game here.

24 Jan, 2007  |  Posted by Danesh  |  in Cool Stuff

Ninja!

Like what you see? You can have the same effects at fodey.

Source: earlmarcus.com

23 Jan, 2007  |  Posted by Danesh  |  in Linux

I just installed MySQL version 4.1.20 on my CentOS 4.4 server. The default install of MySQL server uses a blank password for root so I had to have it changed. I also set the MySQL service to start up every time my machine boots up.

This is how I did it;

Method 1

1. # yum -y install mysql-server (This will install the mysql binaries)
2. # chkconfig mysqld on (Adds mysqld to the startup services)
3. # service mysqld start (Starts the MySQL server)
4. # mysql -u root@localhost (Brings up the MySQL console)
5. #mysql> set password for root=password(’password’); (Sets the root password to “password”)
6. #mysql> reload privileges; (Reloads the grant tables)

Method 2

1. # mysql -u root (Brings up the MySQL console)
2. #mysql> use mysql (Use the mysql database)
3. #mysql> update user
-> set password=password(”password”) (Sets the root password to “password”)
-> where user=”root”;
4. # reload privileges; (Reloads the grant tables)
That’s it, the next time you want to get the MySQL console up you’ll have to run #mysql -u root -p to get the password prompt.

Post-Installation Setup and Testing at MySQL

Update:

This will work too.

/usr/bin/mysqladmin -u root password ‘new-password’
/usr/bin/mysqladmin -u root -h pandora.crib password ‘new-password’