Why /var/log/btmp may be using up a lot of space in your /var

When I was looking around the /var on my Fedora Core 5 scratchmachine to see where all the disk space was being used as part of the last entry , I was startled to discoverthat /var/log/btmp was a 100M file (and by far the largest thing in /var/log ). This was a surprise to me, because I had never heard of thefile before.

It turns out that btmp is used to record bad logins (some of youare already wincing


信任與虛無

香港的示威者都會扯上暴徒形象,台灣的大概就打成土匪了。亞視新聞裡闢了一個小窗,即場轉播凱達格蘭的情況,就像世貿那時的灣仔。香港報紙的頭條還是那樣嗜血,終於等到一場小小「衝突」,就像印證了什麼定理那樣歡

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。

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

十年同行


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

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

謝謝妳