2009年3月25日星期三

如何安装WindowXP到S10E

如何安装WindowXP到S10E

1. 下载DEEPIN PE V3.ISO 或者 BootCD_070911.RAR.
用UltraISO将PE映像到USB盘上。
2. 下载DEEPIN-LITEXP-6.2.ISO从中取出GHOSTEXP.GHO到USB盘上, 同时需要拷贝GHOST32.EXE
3. 使用这个USB来启动机器进入WINDOWS PE。
4. 可用WINDOWS PE 带的磁盘管理工具给硬盘分区,可能会需要重启
5. 启动Ghost32将System.gho恢复到硬盘中。也可以使用PE的在命令行下执行ghost32 -sure -rb -clone,mode=pload,src="ghostxp.gho:1",dst=1:1。
它的作用是把当前文件夹下的ghostxp.gho文件恢复到第一块硬盘的第一个分区上,并且无需确认,在操作完成后自动重新启动计算机。

Visual Studio 的字体及配色































Visual Studio 的字体及配色

有一个很好的网站 "Is your IDE Hot or Not", http://idehotornot.ning.com/,里面有很多很好的配色方案。
还有一个博客写得也很不错 http://www.codinghorror.com/blog/archives/000682.html

TIPS
1. 打开Clear Type选项
Windows XP中为了增强LCD显示器的显示效果,添加了一种名为Clear Type的技术。打开这种技术后屏幕上显示的字符会更加好看。在桌面空白处点击鼠标右键,选择属性,然后打开显示属性的外观选项卡,并点击效果按钮,选中 “使用下列方式使屏幕字体的边缘更加平滑”,然后在下拉菜单中选择清晰。这时Clear Type就被打开了。

2. 编程常用的字体
在网上搜索了一下,常用的字体包括Fixedsys (点阵字体), Consolas, Courier New, Bitstream vera sans Mono, Monaco等

3. 将Visual Studio的source变成html的插件: CopySourceAsHtml (CSAH)
http://www.jtleigh.com/people/colin/software/CopySourceAsHtml/.

(还有一个Firefox的插件用于将代码变成html,非常不错,https://addons.mozilla.org/zh-CN/firefox/addon/11086, http://code.google.com/p/hightlight-extension/)

4. 不要忘了VS2008的搭档Visual assist 1647






    1 #pragma once
    2 #include "Shape_h.h"
    3 #include <objbase.h>
    4 #include <atlbase.h>
    5 #include <atlcom.h>
    6 #include <atlstr.h>
    7 #include <iostream>
    8 
    9 //  IShapeImp
   10 template <class C, const CLSID* pclsid, class T, const GUID* plibid>
   11 class ATL_NO_VTABLE IShapeImpl :
   12     public CComObjectRootEx<CComSingleThreadModel>,
   13     public CComCoClass<C, pclsid>,
   14     public IDispatchImpl<T, &__uuidof(T), plibid>
   15 {
   16 public:
   17     STDMETHOD(get_desc)(BSTR *pVal){
   18         CString szShape = L"Shape";
   19         *pVal = szShape.AllocSysString();
   20         return S_OK;
   21     }
   22 
   23     STDMETHOD(draw)(){return E_NOTIMPL;};
   24     STDMETHOD(get_area)(double* area){return E_NOTIMPL;};
   25 };

这个采用了Midtone Scheme v1.vssettings.


http://idehotornot.ning.com/index.php/index/show?id=2227069

    1 #pragma once
    2 #include "Shape_h.h"
    3 #include <objbase.h>
    4 #include <atlbase.h>
    5 #include <atlcom.h>
    6 #include <atlstr.h>
    7 #include <iostream>
    8 
    9 //  IShapeImp
   10 template <class C, const CLSID* pclsid, class T, const GUID* plibid>
   11 class ATL_NO_VTABLE IShapeImpl :
   12     public CComObjectRootEx<CComSingleThreadModel>,
   13     public CComCoClass<C, pclsid>,
   14     public IDispatchImpl<T, &__uuidof(T), plibid>
   15 {
   16 public:
   17     STDMETHOD(get_desc)(BSTR *pVal){
   18         CString szShape = L"Shape";
   19         *pVal = szShape.AllocSysString();
   20         return S_OK;
   21     }
   22 
   23     STDMETHOD(draw)(){return E_NOTIMPL;};
   24     STDMETHOD(get_area)(double* area){return E_NOTIMPL;};
   25 };

这个采用了zenburn-scheme.vssettings
Description: Dark background with low contrast highlighting.

http://www.codinghorror.com/blog/archives/000682.html
或者
http://idehotornot.ning.com/index.php/index/show?id=2044686

还有一个升级版本,支持CSS,HTML和ASP
http://idehotornot.ning.com/index.php/index/show?id=2353062






    1 #pragma once
    2 #include "Shape_h.h"
    3 #include <objbase.h>
    4 #include <atlbase.h>
    5 #include <atlcom.h>
    6 #include <atlstr.h>
    7 #include <iostream>
    8 
    9 //  IShapeImp
   10 template <class C, const CLSID* pclsid, class T, const GUID* plibid>
   11 class ATL_NO_VTABLE IShapeImpl :
   12     public CComObjectRootEx<CComSingleThreadModel>,
   13     public CComCoClass<C, pclsid>,
   14     public IDispatchImpl<T, &__uuidof(T), plibid>
   15 {
   16 public:
   17     STDMETHOD(get_desc)(BSTR *pVal){
   18         CString szShape = L"Shape";
   19         *pVal = szShape.AllocSysString();
   20         return S_OK;
   21     }
   22 
   23     STDMETHOD(draw)(){return E_NOTIMPL;};
   24     STDMETHOD(get_area)(double* area){return E_NOTIMPL;};
   25 };



这个采用了jheidt_tones_2008_v1.vssettings

Pill Crusher 2008


http://idehotornot.ning.com/index.php/index/show?id=12174264