Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • One line to remove all unneeded old kernel for Ubuntu

    Posted on December 5th, 2011 Sean Add comments

         Along with the kernel keeps updating, many old kernels are kept in the system. For normal users, those old kernels are no longer needed, so the best way just remove them.
         To remove all kernels, just run the single line with below:

    *Original post from here

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    164 views
  • Create XML Comments for Custom Function in VIsual Studio 2010

    Posted on September 25th, 2011 Sean Add comments

         If you need to add your custom comments for your function, including function summary, parameter description, return value etc., just add “///” right before your function, then VS will generate XML layout for you.

         After finish comments, enable “XML Documentation” option for your project:

    1. Open project property
    2. Go to “Build” tab
    3. Check “Xml documentation file”
    4. Build project, then check the XML comments in other project
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    418 views
  • Install Linksys Wireless PCI Adapter(WMP54G) Driver for Windows 7 64Bit

    Posted on August 21st, 2011 Sean Add comments

         Seems like linksys doesn’t provide wireless PCI adapter driver for new Windows OS. The only way to install driver for Windows 7 is force to install the driver from the chip company.

    1. Download the driver from Here
    2. Unzip to somewhere. Let’s say “C:\”
    3. Go to “Control Panel” -> “Device Manager”, look for this adapter. Normally it will be shown like “Unknown Network Controller” or something like that
    4. Click this device, select “Update Driver Software”
    5. Select “Browse My Computer for driver software”
    6. Select “Let me pick from a list of device drivers on my computer”
    7. Scroll down to “Network Adapters” and double click. Then click “Have Disk”
    8. In the box that pops up, navigate to “C:\driver_folder”, and select the driver file
    9. Scroll down to “Ralink Technology Corp” in the box on the left side. On the right side, select “802.11b/g Wireless Adapter.” (Here I have tried select “Linksys” on the left, and “Linksys Wireless Adapter” on the right. It also works! Just choose whatever you want)
    10. Click YES on the warning window (if you see it)
    11. Done! (Sometimes the device still might not be working, try to right click the device and uninstall the driver, but DO NOT check “Delete the driver software for this device”, and restart the computer. Then Windows will help you install the driver again)
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    1,018 views
  • One Script to Backup All SQL Databases

    Posted on August 15th, 2011 Sean Add comments

         It’s a nightmare for backup your DB if you have 100+ DB’s in SQL server. Just simply run a script while you taking a coffee:

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    263 views
  • How to Change the Frequency of Windows Internet Time Synchronisation

    Posted on September 28th, 2010 Sean 2 comments
    1. Run command “regedit” to open Windows Registry
    2. Navigate to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient “
    3. Find key “SpecialPollInterval”
    4. Change the value to what you want in seconds. e.g. 3600 (1 hour)
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    635 views