Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • 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,621 views
  • 软件世界的切格瓦拉

    Posted on August 1st, 2010 Sean 2 comments

         熟悉LINUX的人都知道GNU,而熟悉GNU的人都知道它的创造者就是大名鼎鼎的Stallman。在维基百科里,Stallman是这样被描述的:
     ——理查·马修·斯托曼(Richard Matthew Stallman,简称rms,1953年3月16日-)是美国自由软件运动的精神领袖、GNU计划以及自由软件基金会(Free Software Foundation)的创立者。作为一个著名的黑客,他的主要成就包括Emacs及后来的GNU Emacs,GNU C 编译器及GNU 除错器。他所写作的GNU通用公共许可证(GNU GPL)是世上最广为采用的自由软件许可证,为copyleft观念开拓出一条崭新的道路……他最大的影响是为自由软件运动竖立道德、政治及法律框架。他被许多人誉为当今自由软件的斗士、伟大的理想主义者,但同时也有人批评他过于固执、观点落伍。
         百闻不如一见,2010年7月31日,终于见到活人了。一头似乎从来没修剪过的长发,满下巴颓废的胡子,从形象上看,Stallman更像是一个浪迹在纽约街头的落魄艺术家。两个小时的演讲,这位“伟大的理想主义者”慷慨激昂的阐述,归纳起来,也即是他使用最多的一个词:freedom。而微软和苹果之流,都被他亲切的称呼为:“The enemy”。




         说实话,对于他的理想,我是赞成的,毕竟也窃以为自己曾经算是一名理想主义者。但似乎现实生活又总在敲打我的脑门,一遍又一遍提醒:“记着,要面对现实”……
         回过头想想今天的所见所闻,有感道:如果说Linus Torvalds(肖恩注:Linux内核的发明人)是自由软件世界的卡斯特罗,那么,Stallman就是这个世界的切格瓦拉!

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