sailing

Everything...

上一页 1 2 3 4 5 6 7 ··· 17 下一页

2008年4月13日

使用.net-Synchronized属性进行静态方法的同步

摘要: 使用.net属性进行静态方法的同步 本文介绍使用.net得Synchronized属性实现线程的同步. Synchronized毋庸置疑,可以方便的实现instance level的方法同步,但是是否同样适用于static方法呢?本文写了下面的代码进行验证。结果令人满意,确实可以实现静态方法的同步。 Code highlighting produced by Actipro CodeHigh... 阅读全文

posted @ 2008-04-13 03:45 乌生鱼汤 阅读(1377) 评论(1) 推荐(0) 编辑

2008年4月3日

一边是.net一边是windows api怎么办?解决办法:managed c++

摘要: 从wiki上查得: It is the only language that can communicate directly with .NET languages (such as C#, VB.NET) and native C++. The other .NET languages can only communicate with C++ code via PInvoke or ... 阅读全文

posted @ 2008-04-03 13:02 乌生鱼汤 阅读(389) 评论(0) 推荐(0) 编辑

2008年4月2日

QQ要24M吗?

摘要: 下载qq,发现有24MB,放图,无语了: 阅读全文

posted @ 2008-04-02 12:21 乌生鱼汤 阅读(291) 评论(1) 推荐(0) 编辑

nmake vs msbuild

摘要: nmake 和 msbuild都是两种命令行自动编译系统,功能大同小异。现在的vs 2005已经采用了msbuild系统。 nmake的格式采用的是比较直白的,文件很简单: proxy.obj: ..\proxy.c ..\putty.h ..\network.h ..\proxy.h ..\puttyps.h \ ..\misc.h ..\windows\winstuff... 阅读全文

posted @ 2008-04-02 10:53 乌生鱼汤 阅读(699) 评论(0) 推荐(0) 编辑

2008年3月28日

enable gd support in php

摘要: For the new user, it's very common that will have problem to enable gd support in php, after fail and retry for hours, I figured out to use the steps below to get it work: 1. download/compile/inst... 阅读全文

posted @ 2008-03-28 06:30 乌生鱼汤 阅读(292) 评论(0) 推荐(0) 编辑

2008年3月25日

Fix the right alt(altgr) problem with putty

摘要: Putty is the best ssh client I can find in windows platform. But unfortunately, it has it's own interpretation of the keyboard layout and it treats the right alt key on my pc keyboard as altgr, th... 阅读全文

posted @ 2008-03-25 21:31 乌生鱼汤 阅读(1857) 评论(0) 推荐(0) 编辑

2008年3月22日

windows下的最佳ssh体验

摘要: 由于windows自身不带ssh客户端,在windows下面舒服得使用ssh一直是个问题困扰着我。使用过很多方法,包括安装linux虚拟机,putty,但都不理想。linux虚拟机要占用200多M内存,而且启动慢。putty的键盘布局是欧洲键盘,他们的右alt键是altgr,这个缺点使得在emacs里面不能利用右alt进行单词级别的前进和后退。 网络很大,好东西很多,关键是能不能找到。经过... 阅读全文

posted @ 2008-03-22 23:07 乌生鱼汤 阅读(770) 评论(1) 推荐(0) 编辑

2008年3月16日

太平洋买硬盘记

摘要: 今天去徐家汇的太平洋买硬盘,和以前一样,里面的人见到顾客就硬拉,还使劲问你要买什么。一看他们的店里面都是清一色放了很多主板的盒子,你要想买的东西十有八九都是没有的。想从他们那里买东西就只能等在那里让他们去所谓的"仓库"拿,不仅浪费时间,最后还不一定能买到想要的质量合格的正品货.我以前有一次就买到一个水货内存.当然价格就更不用说了,我想买的一个普通硬盘有家居然给开1000块,实际的价格也就6... 阅读全文

posted @ 2008-03-16 18:17 乌生鱼汤 阅读(314) 评论(0) 推荐(0) 编辑

2008年3月15日

通过google sky了解宇宙

摘要: 喜欢宇宙知识的朋友,可以看一下google sky: http://www.google.com/sky/ 里面不能说是像google earth一样的拥有大量全面的数据,但是给出了很多星系星球的合成照片,非常漂亮,而且附带对距离以及形成原因的简要介绍。受益匪浅。 截图: 阅读全文

posted @ 2008-03-15 09:24 乌生鱼汤 阅读(277) 评论(0) 推荐(0) 编辑

2008年3月10日

配置 apache 1.3, php, ssl的命令

摘要: ./configure \ --with-apache=../apache_1.3.41 \ --with-ssl=../openssl-0.9.8g \ --prefix=/usr/local/apache \ --enable-module=so 阅读全文

posted @ 2008-03-10 05:03 乌生鱼汤 阅读(129) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 17 下一页

导航