兩首姜育恆的經典 
姜育恆 - 再回首


姜育恆-驛動的心


一個不錯回復:

"
After all these years living far away from home by myself, I am still wondering where I will be and where my soul is. During the life journey, everyone could meet many people. One day when I return home and look back everything, I hope that my heart can be filled with good memories.

Be nice to people around you and use a broad mind to accommodate people even they might do something wrong.

Never let people you love leave you because of some trivial dispute and lead to forever remorse.
"


[ add comment ]   |  permalink  |  related link  |   ( 3 / 320 )
结束了带狗的日子,开始了遛人的日子 
结束了带狗的日子,有点怀念。带狗时尽管有时失去了自由,但它们给了我新的生活时间表。今天一早起来,没有了两只大狗在等我,好像少了什么。没办法遛狗就只好遛人了,就差脖子上套一个圈。在外边走了一圈,清新的空气,令我心情愉快,唱着小调走回家。微微出了点汗,回家吃了点东西还看了看书,才上班。没想到睡到八点半和九点半有这么大的差别,真要感谢莉莉安和jojo和rocky. 让我多活了愉快的一小时,一天一小时,一年365小时,相当于15天,十年一百五十天,二十年就有多了一年,长寿啊。但愿可以将遛人大业进行到底。希望大家也早睡早起,和我一同遛遛人。

[ 2 comments ] ( 105 views )   |  permalink  |  related link  |   ( 3 / 10306 )
TVB 中国复兴之路 (中国近现代史快速回顾) 


太宗谓梁公曰:"以铜为镜,可以正衣冠;以古为镜,可以知兴替;以人为镜,可以明得失。朕尝宝此三镜,用防己过。今魏征殂逝,遂亡一镜矣。"

《复兴之路》是中国中央电视台组织制作的一部介绍中国近代史的政论片。与《大国崛起》是姐妹篇。纪录片共六集,与2007年10月5日在CCTV-1首播。

大型电视政论片《复兴之路》是中央电视台第一部全面、系统地梳理中国近现代历史的系列 节目,全片分为六集,于2007年10月5 日在CCTV-1首播。

《复兴之路》一片按照历史线索,逐集表现中国如何在国家危亡之际开始了民族觉醒,如何 在民族救亡的探索之中选择了社会主义道路,如何在社会主义建设的过程中实现了改革开放的历史性突破,如何在中国建立起社会主义市 场经济体制,如何在新的历史时期提出科学发展、建设富强、民主、文明、和谐的社会主义现代化国家

第一集:千年局变 1840-1911
第二集:峥嵘岁月 1912-1949
第三集:中国新生 1949-1976
第四集:伟大转折 1976-1992
第五集:世纪跨越 1989-2002
第六集:继往开来 2002-2007

《中国复兴之路》由翡翠台於2007年12月17日起播出,根据央视复兴之路改编,可谓浓缩版(四集)。由陈键锋主持。

第一集





第二集





第三集





第四集





[ 8 comments ] ( 37 views )   |  permalink  |  related link  |   ( 3 / 4870 )
Changing ASP.net Temporary Files Folder 
Please note that ASP.net create a compile version of the site and stores it in its default temporary ASP.net folder. This is usually %Windows Install Folder%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files (For ASP.Net 2.0). This folder can grow very fast in case web server has large ASP.net sites hosted on that server. Fortunately, ASP.net provides a simple way to change this location. This is stored in the web.config file and can defined in the Global web.config (placed at %Windows Install Folder%Microsoft.NET\Framework\v2.0.50727\CONFIG). To change this path add the new full folder path in the Compilation section of the configuration file. Here is a sample of how this looks like (this must be under System.Web section):

<compilation tempDirectory=“E:\ASP.Net Temporary Folder\” debug=“false“>

One can find the documentation of all different sections of ASP.net configuration file at:
http://msdn2.microsoft.com/en-us/library/b5ysx397(VS.71).aspx

In case when Internet is not available, or you just need a quick reference, there is also a small helpful file in the configuration folder. This file is named “web.config.comments” and is in the CONFIG folder of the ASP.net framework folder.



[ add comment ]   |  permalink  |  related link  |   ( 3 / 792 )
From server Test Client speed, C# 
using System.Management;
#region //ping
/// <summary>
/// Get client speed by ping bytes/million second, bytes/ms
/// </summary>
/// <param name="Target"></param>
/// <returns></returns>
public static int Ping(string Target)
{
int Time=10;

try
{
Time=0;
SelectQuery query = new SelectQuery("Win32_PingStatus", string.Format("Address='{0}'", Target));
ManagementObjectSearcher searcher = new ManagementObjectSearcher(query);

foreach (ManagementObject result in searcher.Get())
{

for(int i=0;i<20;i++)
{
if (result["StatusCode"] != null && (0 == (UInt32)result["StatusCode"])&&result["ResponseTime"]!=null)//connected
{
Time=Time+Convert.ToInt32(result["ResponseTime"]);
}
}
}

Time=Time/20;
}
catch{}

if (Time==0)
Time=10;

return 32/Time;
}
#endregion

[ 1 comment ] ( 134 views )   |  permalink  |  related link  |   ( 2.9 / 5085 )

BackBack NextNext