Tuesday, May 25, 2010

open DNS

the important Open DNS around the world

GOOGLE open DNS   8.8.8.8  or 8.8.4.4

208.67.222.222
208.67.220.220

4.2.2.2

command prompt full screen in Vista and Win 7

# Open an elevated-privilege Command Prompt window,
# At the Vista Command Prompt, type wmic and press ENTER,
# Click the Maximize Window button of the Command Prompt window (the middle button at the upper-right corner) to maximize it,
# Type exit and press ENTER,
# Right-click the Vista Command Prompt Title-bar and select Properties option menu,
# Without changing anything, click OK button to close the Command Prompt Properties dialog box,
# Type exit and press ENTER to close the current Vista Command Prompt.
# Now, re-open the Vista Command Prompt window again (as in step 1), it should have automatically and fully maximized to fit your Desktop resolution! I tested it successfully in Windows Vista Ultimate, and I suppose this tricks will works on other Windows Vista editions as well

how to reset root password in ubuntu

Step 1)  If you have a graphical GRUB menu  you will want to hit the "esc" key at the boot menu.  This will prompt you with a message box saying you are leaving the graphical boot menu and starting text mode interface.  Hit OK.  Otherwise you may already be in the text mode interface.
Step 2) Once in text mode, highlight the default boot option (you want to reset the Root password for) and hit "e" to Edit the commands before booting.

Step 3) Highlight the line that starts with "kernel", press "e" again to edit this entry.

If you are using (K)Ubuntu 9.04 (Jaunty Jackalope and in some cases, earlier versions of Ubuntu) and you follow the above steps, you may find a known bug when presented with a text menu in which you may not be able to select anything, but instead can see all your key strokes as escape characters.  In such a case you may try this work around:

Instead of typing the word "single" as stated in step 4 above, type the following:

1:
      
init=/bin/bash
      

Using Kubuntu 9.04, mine would look like this:
1:
      
kernel /boot/vmlinuz-2.6.28-11-generic ... part2 ro quite splash vga=0x314 init=/bin/bash
      

Hit "enter" to save, "esc" to go back to the boot screen, and "b" to boot.  You will be presented with a prompt that looks like the following:
1:
      
root@(none):/#
      

Once at the prompt, type the following:
1:
2:
3:
      
mount -t /proc
mount -o remount,rw /
passwd
      

type the new password   (hit enter)
retype for confirmation  (hit enter)
You should now see a "password successfully changed" message.
Reboot your machine and login.

To Add Internet Explorer to your "SendTo" folder

* Start - Run (type) "sendto" (no quotes) File - New - Shortcut
* In the command line, (highlight and paste the below - including quotes)
"C:\Program Files\Internet Explorer\IEXPLORE.EXE"

Note: IE supports opening: .gif, jpg, htm, html, .txt, ico, etc.

You cannot create a folder named with this names

It is fact that you cannot create a folder named "CON", nor can you rename an existing folder to "CON". "CON" and a number of other character strings are in fact reserved names that go back to the days of DOS and cannot be used to name folders or files. Other reserved names are:

* PRN
* AUX
* NUL
* LPT1
* COM1
* Potential drive letter - A: to Z:
* A number of others

boot loader fixing while dual boot

1. Boot with Ubuntu Live CD
2. Open a terminal
3. Type sudo grub
it will chage prompt into grub>
4. type find /boot/grub/stage1
5. Type root (hd0,?) [replace the ? with whatever find /boot/grub/stage1 gives you]
6. type setup (hd0)
7. Type quit
8. Restart and grub will magically re-appear

Hide 'User Accounts' from users

Go to Start/Run, and type:

GPEDIT.MSC

Open the path

User Config > Admin Templates > Control Panel

doubleclick "Hide specified Control Panel applets"

put a dot in 'enabled', then click 'Show"

click Add button,

type "nusrmgt.cpl" into the add box