2010年7月29日 星期四

仁愛分隊的實習生活-搶救訓練

項目:搶救訓練
日期:2010-07-27
地點:愛一路、愛三路16號、仁四路19巷
車輛:16車、21車。
內容:司機消防栓中繼供水->主副瞄手,佈署水線射水搶救。

圖一、愛一路


圖二、愛三路
圖三、仁四路19巷

仁愛分隊的實習生活-救護訓練

2010-07-22 氣喘、換氣過度、塵肺病之判斷及處置。



圖一、情境模擬


氣喘 :氣管擴張劑、給氧、適當呼吸姿勢。

塵肺病:給氧(需注意SPO2,以及患者是否有持續呼吸反應)、適當呼吸姿勢。

過度換氣:減少氧供給。

2010年4月22日 星期四

TPC - Fireman養成訓練

項目:消防戰技-水線部署及射水訓練
日期:2010-04-22
教官:海山分隊長 吳濟玄



佈署內容: 2.5' 水帶 x 2、分歧器 x 1、1.5'水帶 x 1、支線噴霧瞄子 x 1


圖一、接上出水口






圖二、分歧開關預設關閉狀態










































圖四、正確狀態




























圖五、附上英姿一張,呵呵呵

2010年1月26日 星期二

Jan-7th ~ Jan-8th 清境之旅行程規劃

路線總覽

清靜農場地圖

行車規劃
國道一號→彰化系統交流道(192K)→轉國道三號南下→霧峰系統交流道(214K)→國道六號起點→東草屯交流道→愛蘭交流道→埔里交流道→埔里端出口(國六終點)→轉台14→霧社(轉台14甲)→清境農場

Solution1:
Day 1
06:00 出發 (Keelung) - 早餐 仁一路飯糰
10:00 埔里酒廠 or 紙教堂
12:00 遊客中心午餐
12:30 小瑞士花園 or 青青草原
15:00 飯店 Check-in (名人渡假村)
18:00 晚餐 - 清境美斯樂擺夷料理傣味餐廳
早睡早起

清境名人渡假村(台14甲線11公里處) Tel:049-2803668
清境美斯樂擺夷料理傣味餐廳 (南投縣仁愛鄉大同村博望巷27號) Tel: 049-2803908

Day 2
05:40 武嶺 日出及雲海
08:00 飯店早餐 小歇
10:50 Check-out
11:40 埔里市區午餐

午餐選項:
阿菊肉圓 (南投縣埔里鎮西安路一段33號) 下山後走中山路一段、二段、右轉中正路、緊接地一個路口左轉西安路,往前一小段即達。
CHUC MUNG NAM MOI 越南河粉 (南投縣埔里鎮忠孝一路) 下山後走中山路一段、二段、左轉中華路、注意橫向道路,會先經過忠孝一路,緊接著右轉忠孝二路,即達。

晚餐:
北返吃尾牙摟!!

2009年11月24日 星期二

Avoid Deprecated: Assigning the return value of new by reference is deprecated in...

Preventing Warning Message from Cakephp 
Message: Deprecated: Assigning the return value of new by reference is deprecated in...
Solution: Modify cake/libs/configure.php
< ?php
if (isset($config['debug'])) {
if ($_this->debug) {
error_reporting(E_ALL);
// add below contents
if (error_reporting() > 6143) {
error_reporting(E_ALL & ~E_DEPRECATED);
}
?>




2009年11月19日 星期四

Capture http package for your http server

tcpdump -A -s 1024 'port 80 and src host 192.x.x.x'

-A enables ASCII mode display
-s enlarge package length
src host x.x.x.x for specified host IP only

Enables your Dreamweaver to recognize thtml and ctp

1. Modify C:\Documents and Settings\user_name\Application Data\Macromedia\Dreamweaver 8\Configuration\Extensions.txt 
Append thtml, ctp in below section:
“PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files”

2. Modify C:\Program Files\Macromedia\Dreamweaver 8\Configuration\Extensions.txt 

Append thtml, ctp in below section:
“PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files”

3. Modify C:\Program Files\Macromedia\Dreamweaver 8\Configuration\DocumentTypes directory\MMDocumentTypes.xml

Append thtml, ctp in below section:
< documenttype id="PHP_MySQL" writebyteordermark="false" file="Default.php" macfileextension="php,php3,php4,php5,thtml,ctp" winfileextension="php,php3,php4,php5,thtml,ctp" internaltype="Dynamic" servermodel="PHP MySQL" >

2009年10月6日 星期二

My notes of jquery-translate usage

Effects: 
Automatic distinguish between Simp Chinese and Trad Chinese then translate to desired language. Few steps to enable localization functionality.

Requirement:
#1. jquery Library. get from here.
#2. jquery-translate. get from here.

Procedures:
#1. Include all necessary JS file.
#2. Make sure all require JS file store in inc folder correctly.
#3. Content of wraper.trans.js

var lang = window.navigator.userLanguage || window.navigator.language ;
var autolang=lang.toLowerCase();
var trans2CN = (autolang == "zh-cn") ? true : false;
trans2CN = true;
$(document).ready(function() {
if(trans2CN){
document.navagation.src='/images/pic.gif';
$('body').translate('zh-CN');
}
});


2009年9月25日 星期五

How to resolve "無法啟動 adobe updater"

1. Browse to  C:\DocumentsandSettings\User Name\ApplicationData\Adobe\Updater\
2. Create a new file or Modify exist file named "AdobeUpdaterPrefs.dat"
3. Paste below content and save the document.

<?xml version="1.0" encoding="UTF-8" ?>
<AdobeUpdater>
<AutoCheck>0</AutoCheck>
</AdobeUpdater>

4. Launch Adobe Photoshop to test.

2009年8月26日 星期三

MSN 2009 for Windows 2003, 2008 0x80280004 (原來一切都是Wrapper搞的鬼)

如果作業系統是Windows 2003, Windows 2008當安裝MSN的時候,得到回應 os_check: 0x80280004,嘗試下列方式安裝。

MSN2009這各版本微軟還是將Os type determination 直接封裝在wlsetup-web.exe裡面,要成功安裝這各版本,除了取得 Messenger.msi 外,包含相關的XML parser、Dll以及其他MSN附屬程式,都得一併安裝,才能保證MSN個功能正常運作。

安裝方式:
Step1:
找一台XP或能成功安裝MSN2009的機器,下載 MSN 安裝程式wlsetup-web.exe http://download.live.com/messenger

Step2:
執行 wlsetup-web.exe 之後,依照畫面提示將MSN安裝完成。

Step3:
安裝完成後,請到 C:\Program Files\Common Files\Windows Live\.cache 這個目錄,MSN2009的相關暫存檔案都放在此,請將所有的*.MSI檔案複製到Windows2003 or 2008進行安裝。

Step4:
至此,所有的程式若已安裝完成,可以開始使用MSN。
如果有遇到 Error 80040111 or 80040154,再額外進行Step5。

Step5:
Dos Prompt下執行 %windir%\system32\regsvr32 %windir%\system32\msxml3.dll
安裝。

註記: 倘若依照上述方式進行安裝之後,還是無法成功登入,請查看相關錯誤代碼的解決方式 或來信討論。