Yelling at the sky
向著天空大吼
Screaming at the world
向著世界咆嘯
Baby, why'd you go away?
寶貝為何你要離開
I'm still your girl
我仍然是你的女孩
Holding on too tight
仍然努力堅持著
Head up in the clouds
仰望著天空
Heaven only knows
卻只有天堂知道
Where you are now
你的所在
How do I love
我要如何去愛
How do I love again?
如何再去愛
How...
Check if a given key exists in a dict
要檢查 dictionary 是否存在索引值
直接查會直接 KeyError
>>> d = {}
>>> d['a']
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyError: 'a'
這時就要靠 collections.defaultdict(default_factory)
>>> from collections import...
No more lazy mornings with you lyin' next to me
再也沒有那些你躺在我身旁的慵懶早晨
No more late night talkin' 'fore we lay our heads to sleep
再也沒有那些晚上入睡前的談話
No more lookin' in the mirror with you steppin' on my feet
再也沒有那些你踩著我的腳照著鏡子的場景
Without your arms around my shoulders
你環繞在我肩膀的手已然消失
I've lost the strength...
I've had space and time to realize the grass ain't greener
我花了一些時間去了解別人的不一定更好
And I kinda miss my side
我有點開始想念那些曾經
Know I shoulda listened when you told me the first time
早知道當初我一開始就聽你的
"You won't find another like me"
「你再也遇不到跟我一樣的人了」
'Cause I'm sat here in my front room with a girl who ain't...
Adding event listeners to dynamically added elements
拿 click 舉例
$(".myclass").click(function(){
// do something
});
若在整個網頁讀取完後,才新增 class = 'myclass' 的 element 不會有這個 Event Listener
這時要用 on
$('#mydiv').on('click', '.myclass', function(){
// do something
});
但 on 在 Jquery 1.7 才出現
這裡提供...
If you want my love
想要得到我的愛
He gotta do what he does
必須要做該做的事
If you want these sweet like sugar Gucci lips
想要得到我甜蜜的Gucci紅脣
He gotta give it up
必須得先放棄
I know you think I'm cool
我知道你覺得我很酷
But I ain't one of the boys
但我是不屬於"男孩"的
No, don't be scared that I'm gon' tie you down
不用擔心我把你綁住
I need a little...
Gonna get in your mind, one fine day
總會有一天,讓我進入你腦海
Gonna figure you out, one fine day
總會有一天,讓我看透你
Dear Lord, maybe I should stay away, stay away
神啊,也許我該離遠點
Little lost, little blind, blind with temptation
一點迷失,一點盲目,在誘惑裡失去方向
Tell me something, do I make you feel the way that I do?
告訴我,要如何讓你感受到我所感受到的
I...