只利用 Regex 來測試字串是否符合日期格式
共 512 個字元
透過錯誤經驗,分享科技與遊戲當中的技術,提醒自己及瀏覽此網誌的人,避免踏進相同的陷阱。
本網誌只提供技術概要及合法軟件連結(如有)。
如閣下因下載、安裝、設定資料等操作,導致任何損失,請自行承擔風險及處理,在下不會負責。
2010-12-21
Regular Expression 測試 3 (Regular Expression Test 3)
Labels:
Regular Expression
Regular Expression 測試 2 (Regular Expression Test 2)
只利用 Regex 來測試字串是否符合 IPv4 格式
共 158 個字元
共 158 個字元
Labels:
Regular Expression
2010-12-19
Regular Expression 測試 1 (Regular Expression Test 1)
只利用 Regex 來測試字串是否符合24小時制時間格式
共 80 個字元
共 80 個字元
Labels:
Regular Expression
2010-11-27
更改 Ubuntu 的 Button Layout (Modify button layout in Ubuntu)
Ubuntu10.04+ 的按鈕排放在左邊,變成與 Mac OS 相似的設定
這種設定使部分習慣使用 Windows 或各種 Linux (安裝 X Window System) 的用家或多或少構成不便
Ubuntu 允許使用者更改按鈕的擺放位置
The button layout move to the left side in Ubuntu10.04+, like Mac OS
This settings inconvenience the tranditional user of Windows or Linux (install with X Window System)
Ubuntu allow user to modify the button layout
這種設定使部分習慣使用 Windows 或各種 Linux (安裝 X Window System) 的用家或多或少構成不便
Ubuntu 允許使用者更改按鈕的擺放位置
The button layout move to the left side in Ubuntu10.04+, like Mac OS
This settings inconvenience the tranditional user of Windows or Linux (install with X Window System)
Ubuntu allow user to modify the button layout
PHP UTF-8 編碼與 session 及 header 問題 (Solving BOM of UTF-8 File Encoding problem with PHP session and header)
網絡上不少跨語言網頁大部分都是以 UTF-8 作為編碼
但利用 UTF-8 編碼編寫 PHP 文件使用到 session 及 header 時便會發生問題
UTF-8 編碼的文件會在文件檔頭加上 3個bytes 的資料,這 3個bytes 稱為 BOM - Byte Order Mark
在標準制式下 UTF-8 的這 3個bytes 分別是:
第一個byte - 0xef
第二個byte - 0xbb
第三個byte - 0xbf
UTF-8 is a popular File Encoding on the internet.
However, when we use UTF-8 with PHP using session and header there are some error occurs.
UTF-8 file has 3 bytes of data at the beginning of file, this 3 bytes called BOM - Byte Order Mark
The standard of UTF-8 file of this 3 bytes is:
1st byte - 0xef
2nd byte - 0xbb
3rd byte - 0xbf
但利用 UTF-8 編碼編寫 PHP 文件使用到 session 及 header 時便會發生問題
UTF-8 編碼的文件會在文件檔頭加上 3個bytes 的資料,這 3個bytes 稱為 BOM - Byte Order Mark
在標準制式下 UTF-8 的這 3個bytes 分別是:
第一個byte - 0xef
第二個byte - 0xbb
第三個byte - 0xbf
UTF-8 is a popular File Encoding on the internet.
However, when we use UTF-8 with PHP using session and header there are some error occurs.
UTF-8 file has 3 bytes of data at the beginning of file, this 3 bytes called BOM - Byte Order Mark
The standard of UTF-8 file of this 3 bytes is:
1st byte - 0xef
2nd byte - 0xbb
3rd byte - 0xbf
Labels:
PHP
,
programming
2010-11-17
Windows VISTA / Windows 7 不能使用 VBScript 的 CommanDialog (VBScript CommonDialog in Windows VISTA and Windows 7)
不少人在 Windows 處理簡單的程序時,往往會用到 VBScript
而使用 VBScript 涉及檔案存取時不少人都會想到使用 File Dialog 讓使用者有一個具 GUI 的檔案選擇工具
VBScript is a light, useful programming language (script) in Windows OS
We can write a VBS with notepad or any text editor
We always select a file with File Dialog
File Dialog is a user-friendly GUI for user to select a specific file
而使用 VBScript 涉及檔案存取時不少人都會想到使用 File Dialog 讓使用者有一個具 GUI 的檔案選擇工具
VBScript is a light, useful programming language (script) in Windows OS
We can write a VBS with notepad or any text editor
We always select a file with File Dialog
File Dialog is a user-friendly GUI for user to select a specific file
Labels:
programming
,
VBScript
,
Windows
2010-10-18
利用 PEAR 製作 Excel 檔案 (Use PEAR to create an Excel file)
PEAR 為 PHP Extension and Application Repository 的簡稱
是一種以 PHP 物件導向的設計的程式庫
PEAR is the abbreviation of PHP Extension and Application Repository
是一種以 PHP 物件導向的設計的程式庫
PEAR is the abbreviation of PHP Extension and Application Repository
Labels:
Excel
,
PEAR
,
PHP
,
programming
2010-10-11
Bio Hazard Remake / Resident Evil Remake Chris Invisible Enemy Hard
Labels:
Bio Hazard Remake
,
Game
,
Resident Evil Remake
Bio Hazard Zero (Ø) / Resident Evil Zero (Ø)
Labels:
Bio Hazard Ø
,
Bio Hazard Zero
,
Game
,
Resident Evil Ø
,
Resident Evil Zero
Bio Hazard Outbreak File 2 / Resident Evil Outbreak File 2 Extra Series
Bio Hazard Outbreak File 2 / Resident Evil Outbreak File 2 Very Hard Series
Bio Hazard Outbreak File 2 / Resident Evil Outbreak File 2 Hard Series
Bio Hazard Outbreak File 2 / Resident Evil Outbreak File 2 Normal Series
Bio Hazard 4 / Resident Evil 4 Zero Hit Ratio
Labels:
Bio Hazard 4
,
Game
,
Resident Evil 4
Bio Hazard 4 / Resident Evil 4
Labels:
Bio Hazard 4
,
Game
,
Resident Evil 4
2010-10-03
Bio Hazard Code Veronica Complete / Resident Evil Code Veronica X
Labels:
Bio Hazard Code Veronica
,
Game
,
Resident Evil Code Veronica
Bio Hazard 2 / Resident Evil 2 Leon B
Labels:
Bio Hazard 2
,
Game
,
Resident Evil 2
Bio Hazard 2 / Resident Evil 2 Claire A
Labels:
Bio Hazard 2
,
Game
,
Resident Evil 2
Bio Hazard 2 / Resident Evil 2 Claire B
Labels:
Bio Hazard 2
,
Game
,
Resident Evil 2
Bio Hazard 2 / Resident Evil 2 Leon A
Labels:
Bio Hazard 2
,
Game
,
Resident Evil 2
Bio Hazard / Resident Evil Jill Arrange
Labels:
Bio Hazard
,
Game
,
Resident Evil
Bio Hazard / Resident Evil Chris Arrange
Labels:
Bio Hazard
,
Game
,
Resident Evil
Bio Hazard / Resident Evil Jill
Labels:
Bio Hazard
,
Game
,
Resident Evil
2010-10-02
Bio Hazard / Resident Evil Chris
Labels:
Bio Hazard
,
Game
,
Resident Evil
2010-09-19
Bio Hazard Remake / Resident Evil Remake 完整完結資料 (Complete Information)
完成 Invisible Enemy 模式後,可觀看關於製作人的文章及遊戲初期設計圖像
Labels:
Bio Hazard Remake
,
Game
,
Resident Evil Remake
2010-08-30
Bio Hazard Remake / Resident Evil Remake 物品 (Items)
遊戲中所有物品的組合、圖像及名單
Labels:
Bio Hazard Remake
,
Game
,
Resident Evil Remake
2010-08-28
Bio Hazard Remake / Resident Evil Remake 武器與子彈 (Weapons and Bullets)
遊戲中所有武器與子彈的組合、圖像及名單
及本人對武器與子彈的主觀分析與描述
及本人對武器與子彈的主觀分析與描述
Labels:
Bio Hazard Remake
,
Game
,
Resident Evil Remake
Bio Hazard Remake / Resident Evil Remake 回復藥物 (Recover Items)
遊戲中所有回復藥物的組合、圖像及名單
Labels:
Bio Hazard Remake
,
Game
,
Resident Evil Remake
2010-07-28
Bio Hazard Zero (Ø) / Resident Evil Zero (Ø) 藥物調合 (Recover Combination)
遊戲中所有藥物調合的組合、圖像及名單
Labels:
Bio Hazard Ø
,
Bio Hazard Zero
,
Game
,
Resident Evil Ø
,
Resident Evil Zero
2010-07-26
Bio Hazard Zero (Ø) / Resident Evil Zero (Ø) 物品 (Items)
遊戲中所有物品的組合、圖像及名單
Labels:
Bio Hazard Ø
,
Bio Hazard Zero
,
Game
,
Resident Evil Ø
,
Resident Evil Zero
Bio Hazard Zero (Ø) / Resident Evil Zero (Ø) 武器與子彈 (Weapons and Bullets)
遊戲中所有武器與子彈的組合、圖像及名單
及本人對武器與子彈的主觀分析與描述
及本人對武器與子彈的主觀分析與描述
Labels:
Bio Hazard Ø
,
Bio Hazard Zero
,
Game
,
Resident Evil Ø
,
Resident Evil Zero
Bio Hazard Zero (Ø) / Resident Evil Zero (Ø) 回復藥物 (Recover Items)
遊戲中所有回復藥物的組合、圖像及名單
Labels:
Bio Hazard Ø
,
Bio Hazard Zero
,
Game
,
Resident Evil Ø
,
Resident Evil Zero
2010-07-21
Bio Hazard Outbreak File 2 / Resident Evil Outbreak File 2 破壞 (Destruction)
根據官方數據,經過測試後得到的資料
訂閱:
文章
(
Atom
)