[魔獸世界]一個增強型薩滿的影片Unbreakable

連進去看影片喔~~~
如題, 他是有橘槌又高督的傳奇獸人薩滿@@”
我許久前下了他的影片 裡面的歌曲非常cool啊
聽了熱血沸騰, 影片先是他在戰歌秒人 然後PVP區域秒人
經典的來了, 他邊哭邊去洗成恢復薩, 被聯盟殘殺XD
然後一個牧師飛下來救他讓他重新學會風怒XD

String compare using XSLT and XPATH

I have summerized some note about the string comparison via XSLT and XPATH.

  1. Find specific string with “=”:
    _Find specific Item with text “testITEM”.
    _
  1. Find specific string with “contains”:
    Find specific Item which contain ”testITEM”.
  1. Find specific string  case-insensitivity “=”:
    Find specific Item with text “testITEM” or “TESTITEM” or “TestItem” … ETC.

There is no way to compare it without transform, you need transform it to upper case(or small case) first.

ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
  1. Compare orderings with great-than:
    _Find specific date which great than “20060419”:
    _
    If the date is ISO format (YYYY-MM-DD) it is easy to compare with follow code. ( >= is the same case.)
  1. Compare orderings with less-than:
    Find specific date which less than “20060419”:

It should be note, “<” can not in XPATH. Please use “<” to replace it. “<=” is the same code.

That is all, for more detail you can find some useful feedback in XSLT Questions and Answers.

2006-04巴里島五日遊

快速記一下所有的行程:

  1. 開車到中正機場->下午到巴里島機場->Athena Villa Check-in->Kuta市區遊->Poppies晚餐->回Villa休息。
  2. 早上起床吃Villa早餐->包車Ubud之旅->買銀飾->看畫廊->Ubud傳統市場與皇宮->Indus午餐->看梯田->Bali Ratu SPA->Kuta Plaza 晚餐。
  3. 早上在Villa內SPA->換到InterContinental->海灘散步->游泳池旁邊曬太陽到天黑->回飯店小睡一番->游泳池旁的餐廳高級浪漫晚餐。
  4. 吃飯店高級早餐->睡回籠覺->Kuta市區KFC->去買Jomba Coffee->Kuta Plaza晚餐->回去拉肚子。
  5. 飯店早餐->睡回籠覺->到飛機->台北。

日程:4/13~4/17

About the running oder for Window Service

WindowsService (WinCE).JPG 

We usually doesn’t care about the startup odering of Window Services. But there is a situation about this.

You usually don’t care what you don’t understand.

Total Service: ServiceA and ServiceB.

In ServiceA we will retrieval some information via ServiceB. If ServiceB doesn’t start before ServiceA this future will failed. Because all Window Service are controled by SCM (“Service Control Manager).

How do we make sure the startup odering of Window Services?

Actually, SCM dispath all service ramdonly, such that you can not promise the services startup odering. But  (mm Here comes a hreo ).

We can set the dependency of every service.

ServiceDependency (Small).JPG 

You can try to open SCM and open a service propertied dialog to see the same information as bellow.

In the table of “Dependency”, you will see all depdency services of this service. It will make sure when this service starup all dependency service should already startup. You should set when you create such service.

::CreateService(hSCM,     // SCM pointer   m_szServiceName,   // service identify name   m_szServiceName,   // Display service name to display    SERVICE_ALL_ACCESS,  // desired access   SERVICE_WIN32_OWN_PROCESS, // service type   SERVICE_AUTO_START,  // start type   SERVICE_ERROR_NORMAL,  // error control type   szFilePath,   // service's binary   NULL,    // no load ordering group   NULL,    // no tag identifier   _T("RPCSS"),   // Dependencies on RPC Call Service.   NULL,    // LocalSystem account   NULL);    // no password > >

Please reference MSDN for more detail.

Office Live 線上版OFFICE???

Microsoft Office Live 

jiangsheng看來的資訊,OfficeLive開放註冊了。

30MB的網路儲存空間,一個免費的國外網域(恩~~沒錯的~ 是免費的喔~~)

於是我申請了evanlin.net來用(應該還不能用吧~~可以先看TEMP)

OfficeLive (Small).JPG

由於其他功能都要收費(還沒去試用~),光是Web Designer就跟MT實在是很像(雖然蠻親近、好用的),不過光是看到送一個DomainName就實在很誘人~~

一些WCF的補充資料

官方網頁:
http://windowscommunication.net/

  1. Windows Communication Foundation入门(Part One)
  2. Windows Communication Foundation入门(Part Two)

等之後手邊輕鬆一點就來弄~~