How to convert a time string in GMT to seconds since the epoch

Recently, I've run into a situation where I have an ASCII stringrepresenting a time, expressed in UTC/GMT, and I want to convert it tothe standard Unix representation of seconds since the epoch.It turns out that there are some interesting issues involved (well,in my opinion).

Doing this for a time string in local time is a snap: time .strptime() will convert the ASCII time string to Python's version of C's structtm , and then time .


印度墨

印子忽然輕輕說:「曾經一度,你們也是相愛的吧,那時,世上也沒有比她更好更適合你的人了吧。」聲音輕得像喃喃自語。
他坦白承認:「我們是大學同學。」
「如今,像陌路人一般。」
「是,我不再愛她,對她所作所為,十

正面三題

1.朝氣

a:我在xxx化中。
b:xxx殘得來比較有朝氣啊。連這點也同時xxx化吧。
a:我沒朝氣得來有氣勢啊
b:朝氣襟玩過氣勢喎
a:才不是!才不是!
……
a:新一篇我覺得很有朝氣呀
b:其實寫本身就是有朝氣了
a:有冇咁

Weekly spam summary on September 16th, 2006

The SMTP frontend keeled over and was restarted around 6am on Tuesdaymorning, so some of the statistics are from then. Given that, thisweek we:

  • got 15,257 messages from 210 different IP addresses.
  • handled 17,165 sessions from 837 different IP addresses.
  • received 101,830 connections from at least 26,869 different IPaddresses since Tuesday at 6am.
  • hit a highwater of 7 connections being checked at once

三千六百五十一日 甜蜜蜜


今日是本人拍拖第十年零一日,可能有些朋友會覺得結了婚之後就不是拍拖了,我不是這樣看的,可能幾十年之後,我和我以前個女朋友,即係現在的老婆,仍然在拍拖。

寫這篇文字,絕對是為了哂幸福。曾經有一段時間,我覺

The temptation of LVM

Generally I'm not a big fan of LVM. It has a lot of moving parts, addsan extra layer of indirection, and the whole set of commands and taskshas always felt rather complex; there was too much fan dancing for theresults I'd get.

But I have a new machine to set up, and I have to say that moderndisks have really made LVM tempting. The problem is that they'vegotten so big that I no longer have any idea what I want to do


旁邊

有時我懷疑有些事其他人知不知道,我是指,見到某些人,並不真正具有感情聯繫的人,我那麼開心。有人說「你地惺惺相惜」,我說不是,我係佢fans。

像總有我尊敬的人懷疑我對之抱持的敬意,我懷疑那必須從旁辨識才能看得

十年同行


因為這部 電影
我們走過了十年

拍拖十周年
仍然有拍拖的美好感覺
這件事本身就夠了不起

謝謝妳

一切的美麗都需要苦心經營

作為一個吃甚麼都會長肉的女人,

轉了工作以後,

心態上的確有很大的改變。

那就是,

多吃一點東西也會覺得不安。

昨夜的芝士夾麵包,

今早的飯糰,

通通變成了無法消化的內疚。

大概,

今夜那些食物會化成牛鬼蛇神,

嘲諷我再

我想開心d

工作多
心情壞
計劃亂哂

唔使驚
睇段片開心下:
https://www.youtube.com/watch?v=OZpin65BPBc

悲劇之中
總有笑位