2009-08-05

[CakePHP] 檔案 / Class 命名習慣

CamelCased

* The Controller class
KissesAndHugsController
=> kisses_and_hugs_controller.php (notice _controller in the filename)
* The Component class
MyHandyComponent => my_handy.php
* The Model class
OptionValue => option_value.php
* The Behavior class
EspeciallyFunkableBehavior => especially_funkable.php
* The View class
SuperSimpleView => super_simple.ctp
* The Helper class
BestEverHelper => best_ever.php


http://book.cakephp.org/view/23/File-and-Classname-Conventions

2009-06-28

[iPod Touch 2g] iPod Touch 如何抓畫面呢?

上網找了一下, 還蠻簡單的.
就是先按住 Home 不放, 然後輕按一次 電源鍵(Sleep/Wake button. 就是那個開關按鈕).
畫面就會存在相簿內啦.

有空再把一些當用軟體也寫上來囉.

2009-06-02

[心隨意動] 安 心 上 路

2009.06.01 參加了同學的告別儀式。
或許是自己已為人父,心裏感觸特別的多。

當下堅持不讓自己流下眼淚,
就只是為了抗議她"輕率的?!"選擇結束自己的生命。

究竟是她"自私的"選擇了告別這個世界?
還是我們"自私的"不願她以這樣的方式離開?

如果說冥冥之中一切都有定數,
那麼這些儀式,也只是為了安撫未亡人的心靈。

歿於 2009.05.14

2009-05-14

[iPod] 學英文嗎? 來訂閱 ESLPOD 吧!

自從購入 iPod Touch 2G 之後,一直以來也都是把它當做多媒體播放器及另類遊戲機來使用。
最近在良心發現之後,開始讓它多了些其它的功能。

在iTunes內有個 Podcast的功能。查了一下,才知道Podcast由「iPod」與「Broadcast」兩字組合而成。簡單來說,就是使用iPod訂閱網路電台所製作的聲音檔(MP3)。

我想要怎麼使用呢? 當然是學習英文囉。

這裏是ESLPOD的訂閱教學。
http://www.eslpod.com/eslpod_blog/listen-with-itunes/

懶的看的人,就直接另開瀏覽器輸入以下網址。
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=75908431&s=143442&i=279081

系統就會直接在iTunes上切換到訂閱的頁面。
Have Fun.

2009-05-03

[耳朵去流浪] Linkin Park - Leave Out All The Rest

一樣是從CSI中聽到的歌曲(CSI配樂或是插曲似乎很對我的味)。


找到一篇關於這首歌的翻譯。
http://randle.wordpress.com/2007/11/08/leave-out-all-the-rest/

Linkin Park - Leave Out All The Rest

I dreamed I was missing, you were so scared
But no one would listen, ’cause no one else cared
After my dreaming, I woke with this fear
What am I leaving when I’m done here?

So if you’re asking me, I want you to know

When my time comes, forget the wrong that I’ve done
Help me leave behind some reasons to be missed
Don’t resent me, and when you’re feeling empty
Keep me in your memory, leave out all the rest

Leave out all the rest, don’t be afraid
I’ve taken my beating, I’ve shared what I made
I’m strong on the surface, not all the way through
I’ve never been perfect, but neither have you

So if you’re asking me, I want you to know

When my time comes, forget the wrong that I’ve done
Help me leave behind some reasons to be missed
Don’t resent me, and when you’re feeling empty
Keep me in your memory, leave out all the rest
leave out all the rest

Forgetting all the hurt inside you’ve learned to hide so well
Pretending someone else can come and save me from myself
I can’t be who you are

When my time comes, forget the wrong that I’ve done
Help me leave behind some reasons to be missed
Don’t resent me, and when you’re feeling empty
Keep me in your memory, leave out all the rest
leave out all the rest

Forgetting all the hurt inside you’ve learned to hide so well
Pretending someone else can come and save me from myself
I can’t be who you are
I can’t be who you are

2009-04-28

[耳朵去流浪] A Fine Frenzy - Almost Lover

已經不記得是在哪聽到這首歌的。

如果你也曾有過這樣的一段感情,聽歌時可是會讓你淚如雨下。

Hope you enjoy it.

P.S. 附上幾個 Post 連結。內有詳細說明及歌詞/歌曲。
http://chungirl.blogspot.com/2007/12/almost-lover-fine-frenzy.html
http://www.kkbox.com.tw/funky/web_info/pFIti4b47U.DMgx00LjP008l.html#1

A Fine Frenzy - Almost Lover

Your fingertips across my skin
The palm trees swaying in the wind
Images
You sang me Spanish lullabies
The sweetest sadness in your eyes
Clever trick

Well, I never want to see you unhappy
I thought you'd want the same for me

[Chorus]
Goodbye, my almost lover
Goodbye, my hopeless dream
I'm trying not to think about you
Can't you just let me be?
So long, my luckless romance
My back is turned on you
Should've known you'd bring me heartache
Almost lovers always do

We walked along a crowded street
You took my hand and danced with me
Images
And when you left, you kissed my lips
You told me you would never, never forget
These images

No

Well, I'd never want to see you unhappy
I thought you'd want the same for me

[Chorus]
Goodbye, my almost lover
Goodbye, my hopeless dream
I'm trying not to think about you
Can't you just let me be?
So long, my luckless romance
My back is turned on you
Should've known you'd bring me heartache
Almost lovers always do

I cannot go to the ocean
I cannot drive the streets at night
I cannot wake up in the morning
Without you on my mind
So you're gone and I'm haunted
And I bet you are just fine

Did I make it that
Easy to walk right in and out
Of my life?

[Chorus]
Goodbye, my almost lover
Goodbye, my hopeless dream
I'm trying not to think about you
Can't you just let me be?
So long, my luckless romance
My back is turned on you
Should have known you'd bring me heartache
Almost lovers always do

2008-12-03

[跟電腦比較熟] VMWare Server =>Reason: Failed to lock the file

最近更新了 VMWare 版本.
更新後發現開啟 VM 都會出現以下訊息:

Reason: Failed to lock the file

Google 了一下, 在網路找到了以下解答. ( 內地出處 )

1. 手動修改配置檔
請用 notepad 編輯 *.vmx 檔案, 在內容中加上一行
disk.locking = "FALSE"

2. 透過 VMware Infrastructure Web Access 介面修改
進去 VMware Infrastructure Web Access
在左邊的Inventory -> 選取你的VM -> 右邊 Commands -> Configure VM
-> Advanced -> Configuration Parameters -> Add New Entry
-> Name 輸入 disk.locking -> Value 輸入 FALSE -> OK

2008-10-05

[跟電腦比較熟] VMware 2.0 該憑證未受信任

VMware 2 新功能就是把操作方式改為 Web 介面.
而在使用 Firefox 開啟時, 會出現以下錯誤訊息.
" 該憑證未受信任 ...... sec_error_ca_cert_invalid ......."

這時, 只要在 Firefox 執行以下操作, 就能正常運行.

工具->選項->進階->加密->檢視憑證清單->伺服器->加入例外清單->
位址 輸入 https://你的電腦名稱:8333/ ->取得憑證->勾選 永久儲存此例外->
確認安全例外->確定

這樣就可以使用囉.

出處: How to I MAKE firefox allow a self signed certificate.

2008-08-12

[跟電腦比較熟] docx, xlsx , pptx 究竟是在X什麼?

如果你收到的 Office文件, 副檔名是 docx, xlsx , pptx, 請不要害怕.
這些是Office 2007 出世之後, 所產生的一種新的文件格式.

如果你電腦安裝的是舊版的Office, 請先安裝以下的相容套件.
這樣, 你也就能順利開啟新格式的文件了.

Microsoft Office Word、Excel 及 PowerPoint 2007 檔案格式相容性套件