Thursday, June 18, 2009

How to enter nocheckCPUIDLimit on ESXi 4.0

  1. At the initial bootloader screen (when booting from the ISO), press TAB to edit the boot options
  2. add "nocheckCPUIDLimit" right after
    "vmkernel.gz", so that the first part of the boot options BEFORE the
    first "---" reads: "mboot.c32 vmkernel.gz nocheckCPUIDLimit ---"
  3. Press enter to finish
When ESX is booting from the HD, press Shift+o and type nocheckCPUIDlimit.

How to enable SSH in ESXi 4.0

http://www.vm-help.com/esx40i/ESXi_enable_SSH.php

Sunday, October 12, 2008

Delete and Reset Windows Vista Folder Views or Folder Types Settings to Default Clean State

  1. Click on Start button.
  2. Type regedit in the Start Search box, and press Enter to run Registry Editor.
  3. Click Continue on User Account Control dialog prompt.
  4. In Registry Editor, navigate to the following registry branch:

    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags

    Right click on Bags registry key in the left pane, and click Delete.

  5. Click Yes when prompt for confirmation to delete the registry key and all its subkeys.

  6. Next, navigate to the following registry key (it should be just below):

    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU

    Right click on BagMRU registry key in the left pane, and click Delete.

  7. Click Yes when prompt for confirmation to delete the registry key and all its subkeys.

  8. Close Registry Editor.
  9. Log off and log on again or restart computer so that the registry keys can be rebuilt and recreated.
  10. After logged on, open Windows Explorer, go to Folder Options (Organize -> Folder and Search Options) View tab, and make sure the Remember each folder’s view settings is checked.
  11. To ensure that any changes to Folder settings in Explorer window, close the Explorer window after changes to save the settings. Windows Vista will only remember the state of folders of the window is closed.
Source

Sunday, September 21, 2008

Receive Window Auto-Tuning on Vista

  • You can restrict autotuning by running “netsh interface tcp set global autotuninglevel=restricted” from the command prompt. We have found that restricted mode will often allow some of the benefits of autotuning with a number of problematic devices.
  • Lastly, if all else fails, in order to disable this feature, run "netsh interface tcp set global autotuninglevel=disabled".
  • (In order to reenable autotuning, run “netsh interface tcp set global autotuninglevel=normal”.)
Source:
http://blogs.msdn.com/wndp/archive/2007/07/05/receive-window-auto-tuning-on-vista.aspx

FizzBuzz in different languages

Java: import java.util.TreeMap ; public class Main { public static void main (String[] args) { System. out .println( ...