May
22
2008
0

單行 Today 數字時鐘

終於讓我找到了!

在 Today 只佔一行空間並且有秒數顯示的時鐘:AlDate.zip

Screen001.png

以下是時間格式設定說明:

———————————————————————-
Date:

d – Day of month as digits with no leading zero for single-digit days.
dd – Day of month as digits with leading zero for single-digit days.
ddd – Day of week as a three-letter abbreviation.
dddd – Day of week as its full name.
M – Month as digits with no leading zero for single-digit months.
MM – Month as digits with leading zero for single-digit months.
MMM – Month as a three-letter abbreviation.
MMMM – Month as its full name.
y – Year as last two digits, with a leading zero for years less than 10. The same format as “yy.”
yy – Year as last two digits, with a leading zero for years less than 10.
yyyy – Year represented by full four digits.
gg – Period/era string.

———————————————————————-
Time:

h – Hours with no leading zero for single-digit hours; 12-hour clock
hh – Hours with leading zero for single-digit hours; 12-hour clock
H – Hours with no leading zero for single-digit hours; 24-hour clock
HH – Hours with leading zero for single-digit hours; 24-hour clock
m – Minutes with no leading zero for single-digit minutes
mm – Minutes with leading zero for single-digit minutes
s – Seconds with no leading zero for single-digit seconds
ss – Seconds with leading zero for single-digit seconds
t – One character time marker string, such as A or P
tt – Multicharacter time marker string, such as AM or PM

Written by Chris Lam in: PocketPC |
May
13
2008
0

WM6 輸入法彈出選項緩慢問題

早前買了 HTC TyTN II 回來後,又像小孩子一樣在網上四處找尋好用的軟體,但有一天打算回覆 SMS 時,竟發現彈出式輸入法選項竟然要 5 秒才出現!
這個問題困擾了我好幾日後,今天放學回來上 google 搜尋了一下,發現了一個可行又可笑的方法:

1, 使用 Registry 管理軟件 (如 SKTools) 備份 HKCR\CLSID
2, 把整個 HKCR\CLSID 刪掉,或較為保障地只將其重新命名
3, 把 HKCR\CLSID 的備份還原
4, Soft-reset

搞掂!

原因可能要訪問一下 M$ 了 =.=

Written by Chris Lam in: PocketPC |
Apr
02
2008
0

It’s a rainy day.

I am 21 now

But today is NOT my birthday, i dont even have a birthday in 2008.

CityU admission offer…is it a gift?

sigh…

Written by Chris Lam in: 生活隨筆 |
Mar
06
2008
0

[OpenVZ] 設定 VE 的 Ram Quota

  1. VMGUARPAGES="32768:2147483647" // 128MB Guaranteed
  2. VMGUARPAGES="65536:2147483647" // 256MB Guaranteed
  3. VMGUARPAGES="131072:2147483647" // 512MB Guaranteed
  4.  
  5. PRIVVMPAGES="64000:65536" // 256MB Burst
  6. PRIVVMPAGES="128000:131072" // 512MB Burst
  7. PRIVVMPAGES="256000:262140" // 1024MB Burst
Written by Chris Lam in: Linux / Unix |
Feb
24
2008
0

[Apache] No space left on device: mod_rewrite

最近 Apache 經常無故死掉,查看 log 檔卻只看見:

[Sun Feb 24 16:48:46 2008] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

但當時主機各方面都很正常,絕無可能不夠 space/memory,解決方法就是 reboot = =

後來 google 一下,找到一個 work around,原理是刪除 Semaphores Array:

  1. # ipcs -s | grep apache | awk '{ print $2 }' | xargs ipcrm sem
Written by Chris Lam in: Linux / Unix |

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes