Pages

Tuesday, April 12, 2011

使用者造字封裝程式

造完字要如何讓其他電腦也可以用相同的字型檔和輸入法呢?

方法一:
1. Copy 造字檔、輸入法表格(TTE, EUF)等檔到新電腦上→2.匯入reg檔→3.開啟造字程式→4.字型連結 …
若經常有造字檔更新或用戶太多,不適合用此法。

方法二
1. 到下列網址下載「造字封裝程式」
http://www.microsoft.com/downloads/details.aspx?FamilyID=6afaf511-5182-4ae4-ae19-a9b9609fa9bd&displayLang=zh-tw
或搜尋「EUDC Deployment Tool」、「EUDC 封裝」

“系統需求
支援的作業系統: Windows 2000; Windows Server 2003; Windows XP
「使用者造字封裝程式」支援 Windows 2000, Windows XP 及 Windows Server 2003,且需要事先安裝 Microsoft .NET Framework 1.1 版或更新版本。

其匯出之 Windows Installer 封裝亦支援 Windows 2000, Windows XP 及 Windows Server 2003。

支援匯出之輸入法自訂表格: 注音輸入法、倉頡輸入法、速成輸入法、行列輸入法、大易輸入法。”

2. 依預設的選項安裝下載的 msi 檔。其餘的注意事項請見 readme.rtf。
3. 開始 → 程式集 → 使用者造字工具 → Microsoft EUDC Deployment Tool。
4. 選擇造字字型(至少選擇通用字型,其他字型如果有造字依需求選擇)。
5. 選擇輸入法自訂表格。
6. 封裝標題、作者、使用者授權合約等依需求調整或不變即可。
7. 按「匯出」鈕進行 msi 封裝。
8. 發佈到用戶端執行,或以 /quiet 選項背景安裝。

大


update old AdSense code

原代碼:

<script type="text/javascript"><!--
google_ad_client = "pub-09194002021xxxxx";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as";
google_ad_type = "text_image";
//2006-12-27: club, diving, scuba
google_ad_channel = "0642876578+6711664441+02033xxxxx";
google_color_border = "66B5FF";
google_color_bg = "E6E6E6";
google_color_link = "0066CC";
google_color_text = "66B5FF";
google_color_url = "3D81EE";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


一直無法轉換:

The format of the line for the parameter google_ad_format is incorrect. Line 5: google_ad_format = 125x125_as;

the line in the code is:
google_ad_format = "125x125_as";


修改以下代碼,原:
google_ad_type = "text_image";
成:
google_ad_type = "text";

新產生的代碼:

<script type="text/javascript"><!--
google_ad_client = "ca-pub-09194002021xxxxx";
/* ckc */
google_ad_slot = "26010xxxxx";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Monday, April 11, 2011

Windows 7 共用根目錄

http://windows.microsoft.com/zh-TW/windows7/Share-files-with-someone

"與他人共用檔案

在 Windows 7 中,您可以與其他人員共用個別檔案和資料夾,甚至整個媒體櫃 (如需概觀,請參閱「檔案共用基本資訊」。)
"

"進階共用

基於安全理由,Windows 中的某些位置不能直接使用 [共用對象] 功能表進行共用。其中一個範例是您嘗試共用電腦上的整個磁碟機 (例如磁碟機 C) (有時稱為磁碟機的「根目錄」) 或系統資料夾 (包括使用者和 Windows 資料夾)。

若要共用這些位置,則您必須改用 [進階共用]。不過,一般並不建議共用整個磁碟機或 Windows 系統資料夾。
"

"注意

您無法像在比 Windows Vista 舊的 Windows 版本中使用磁碟機代號加上錢字號來共用磁碟機的根目錄。例如,您無法以 "C$" 來共用 C 磁碟機的根目錄,但您可以使用 "C" 或其他任何名稱來進行共用。
"

Friday, April 08, 2011

Windows 7 PPPOE 錯誤 651 error


狀況:
1.ADSL會突然無法使用(IP分享器),改直接接 adsl moden 撥號,發現居然 windows XP Pro (ThinkPad T42) 可以撥號,windows 7 pro (VAIO-Z) 還是一直錯誤651。
2.打中華電信客服 reset modem 後,windows 7 錯誤依舊。

參考網路上整理的12種方法:














結果:再打一次中華客服,隔兩天來換了光世代,至少用IP分享器不用再重開機了。

....windows 7 error 651 還是沒解決 :P





Thursday, February 17, 2011

Blog 內插入美觀程式碼 SyntaxHighlighter

使用 SyntaxHighlighter 3.0.83

官方網站:http://alexgorbatchev.com/SyntaxHighlighter/

1.到 官網 下載,解開並上傳至網路空間或使用 hosted version.

2.加入下方程式碼到網頁中,使用 blogger 需開啟 bloggerMode 為 true

<link type="text/css" rel="stylesheet" href="script_path/shCore.css"/>
<link type="text/css" rel="stylesheet" href="script_path/shThemeDefault.css" id="shTheme"/>
<script type="text/javascript" src="script_path/shCore.js"></script>
<script type="text/javascript" src="script_path/shBrushBash.js"></script>
<script type="text/javascript" src="script_path/shBrushCpp.js"></script>
<script type="text/javascript" src="script_path/shBrushCSharp.js"></script>
<script type="text/javascript" src="script_path/shBrushCss.js"></script>
<script type="text/javascript" src="script_path/shBrushJS.js"></script>
<script type="text/javascript" src="script_path/shBrushPhp.js"></script>
<script type="text/javascript" src="script_path/shBrushSql.js"></script>
<script type="text/javascript" src="script_path/shBrushVb.js"></script>
<script type="text/javascript" src="script_path/shBrushXml.js"></script>
<script type='text/javascript'>SyntaxHighlighter.config.bloggerMode = true;</script>
<script type='text/javascript'>SyntaxHighlighter.all();</script>


3.使用 <pre /> 方式調用

<pre class="brush: css;">
/* Footer
----------------------------------------------- */
#footer {
clear:both;
padding:15px 0 0;
}
#footer hr {
display:none;
}
#footer p {
margin:0;
}
</pre>



4.DEMO 效果
/* Footer
----------------------------------------------- */
#footer {
clear:both;
padding:15px 0 0;
}
#footer hr {
display:none;
}
#footer p {
margin:0;
}



5.注意事項
使用 <pre /> 方式調用時,
所有的左括號 < 都必需 HTML escaped ,
也就是需使用 &lt; 來代替。