肖恩D++

Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • Ubuntu Desktop Screen Upside down??

    Posted on September 3rd, 2010 Sean 2 comments

         I used to have an Nvidia video card on Ubuntu and use Nvidia Xserver drive for it, but couple days ago I decided to remove that card and use the onboard video card which is INTEL GMA 950.
         After take the Nvidia out, I have to generate the new xorg.conf file for the X Windows and new video device. So, just use Ctrl + Alt + F1 switch to text mode, and run:

         After reboot, the desktop screen become to upside down. Even can’t type anything in terminal. To fix it, just switch to text mode again, rename “/etc/X11/xorg.conf” to “/etc/X11/xorg.conf.new”, then reboot. The screen is back to normal but no video driver, then use synaptic to find any package beginning with “nvidia”, and remove them all. Last thing is change “/etc/X11/xorg.conf.new” back to “/etc/X11/xorg.conf” and reboot, then all set.

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    828 views
  • Fixing “Unable to get the project file from the Web Server”

    Posted on August 24th, 2010 Sean 5 comments

         When trying to open an existing project in Visual Studio 2003, if keep getting a pop up message “Unable to get the project file from the Web Server”:

         Try following to fix the problem:

    1. Check the webinfo file, make sure the “URLPath” is correct.
    2. Recreate the virtual directory for it and restart IIS.
    3. Delete the project cache in “C:Documents and SettingsusernameVSWebCache”
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    991 views
  • Multiple websites in IIS on Windows XP Pro

    Posted on August 17th, 2010 Sean Add comments

         Unlike Windows Server Edition, XP pro does not support multiple websites in IIS. However, we still can use several ways around this.
         First option, just use IIS Admin, a simple program developed by a third-party developer for this purpose. (Download From Here)
         The second option is to use adsutil.vbs, located in the folder “C:\Inetpub\AdminScripts”:

         Where x is replaced by the new numbered site. For example if you run the first command and the highest numbered site is 4, then replace x to 5.

         The third option is to use Metabase Explorer from the IIS 6.0 Resource Kit Tools.Copy the default website (/LM/W3SVC/1/) and then paste it. This will also give you another website, ready to use. (Download From Here)
         Also we can delete the website using adsutil.vbs, Metabase Explorer or ADSI/WMI. To delete a website using adsutil.vbs, write this in a command prompt:

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    606 views
  • 起床

    Posted on August 9th, 2010 Sean 7 comments

         一个韩国动画短片,发现挺有自己早上起床的感觉:

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    663 views
  • Move system apps cache to SD card for android in G1

    Posted on August 3rd, 2010 Sean 8 comments

         By many customized Android mod (such as CyanogenMod), G1 can move the apps which installed by user self to SD card automatically, thereby keeping G1’s internal memory available as much as one can do. But, the system apps still occupy many memories while using them. So, what we can do, is to move the internal apps cache to SD card too!
         To implement this, we need to use terminal app in G1 or ADB in PC. I prefer ADB, because it’s better to using big PC’s keyboard, rather than G1’s for typing lots of command lines. Can click here for reference of using ADB.
         In Windows, just open one command console window:
    (click pics for bigger view)

         In cmd window, type “adb devices” and will see the all devices of android, then, type “adb shell” to remote the internal shell of G1. Before do anything, make sure you are “root” by using command “whoami”.
         After type “df -h”, system will give a disk table for the internal memory and SD card. Because I am using CyanogenMod, so SD card has two partitions, one is Linux ext format named “sd-ext”, the other one is FAT32 format named “sdcard”, and The cache of internal apps is in the folder named “data”. All we need to do is move the app cache from “data” to “sd-ext”:

         If use G1’s keyboard, just do same thing as above. There are some other cache location might be needed to move

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    1,620 views