Archive for the '技术' Category

Open Source QnA System like Stackoverflow

Saturday, August 14th, 2010

Here are a few links to such projects. http://www.cnprog.com/ http://www.osqa.net/ http://www.question2answer.org/qa/questions http://shapado.com/

gentoo linux

Saturday, August 14th, 2010

什么是Gentoo? Gentoo是一个基于Linux或FreeBSD的自由操作系统,它能为几乎任何应用程序或需求自动地作出优化和定制。追求极限的配置、性能,以及顶尖的用户和开发者社区,都是Gentoo体验的标志特点。 得益于一种称为Portage的技术,Gentoo能成为理想的安全服务器、开发工作站、专业桌面、游戏系统、嵌入式解决方案或者别的东西——你想让它成为什么,它就可以成为什么。由于它近乎无限的适应性,我们把Gentoo称作元发行版。

Dev Tips: How to install x64 bit and x86 bit COM on one inno Installer

Saturday, July 31st, 2010

InnoSetup is an excellent free setup program. Nowadays, more and more computers run on x64 windows. InnoSetup has limited support to x64 enviroment as well. Here is the problem. Suppose I have a COM dll that has x64 and x86 versions. How can I install them with one installer and register the COM properly? It [...]

Dev Tips: how to get current user’s desktop in Visual basic 6

Saturday, July 31st, 2010

You might want to access user’s desktop in VB6 application. here is how to access that folder: Private Declare Function SHGetFolderPath Lib “shfolder.dll” Alias “SHGetFolderPathA” (ByVal hwndOwner As Long, ByVal nFolder As Long, ByVal hToken As Long, ByVal dwReserved As Long, ByVal lpszPath As String) As Long Dim MyPath As String MyPath = Space(260) Call [...]

T400 Windows 7 Blue Screen

Saturday, June 26th, 2010

最近遇到一个联想T400笔记本蓝屏问题,现象是: 1. 启动过程中显示蓝屏,错误代码0x0000007B 2. 安全模式无法进入,卡在了classpnp.sys上 3. Windows 7自动修复程序在修复过程中死掉 经过一番研究,发现根本原因是BIOS问题,需要把硬盘控制器设为如下模式: Serial ATA (SATA) Controller Mode Option: Compatibility

为什么MSI安装程序会自动的弹出?

Tuesday, June 15th, 2010

有时候你可能注意到在运行程序时,突然Windows Installer安装程序会弹出来. 这就是Installation on demand功能. 那么究竟是为什么呢? From the Windows Installer Blog:

在VMWare中安装MacOS 10.6雪豹

Tuesday, June 15th, 2010

下载连接: BT下载MacS.X.10.6.3.Retail, 如果是DMG格式可以用UltraISO转换成ISO 引导光盘:darwin.iso 步骤如下: 在VMWare中 创建一个 FreeBSD 64-bit 的 虚拟机,修改.vmx 文件, 将 guestOS 类型 改为 darwin10 将 darwin.iso 设置为启动光盘, 注意选择”Connected”.

Nginx + Django Setup

Sunday, February 28th, 2010

Follow the below articles, it should be able to work: http://wiki.nginx.org/NginxDjangoFastCGI http://code.djangoproject.com/wiki/InitdScriptForLinux http://stackoverflow.com/questions/605173/how-to-nginx-virtual-servers-fcgi-for-django Notice fast CGI config in nginx: fastcgi_pass_header Authorization; fastcgi_intercept_errors off;

How to remote logon to linux X Desktop

Saturday, February 27th, 2010

There are several options. 1. VNC http://markus.revti.com/2009/08/installing-vnc-remote-desktop-on-ubuntu-linux-vps/ 2. FreeNx https://help.ubuntu.com/community/FreeNX

Howtos: 管理员如何登陆Debian Linux的GUI界面

Tuesday, February 23rd, 2010

方法有两种,一是图形界面方式设置,一是命令行设置: A. 图形界面方式: GNOME桌面下:打开“系统主菜单“,选择”系统>系统管理>登录窗口”,在弹出的窗口中点“安全”选项页,选择“允许本地管理员登录“,点确定即可。完成。