Moving Your Drupal 'files' Folder - Dev to Live Sites

When I was rebuilding www.jeffgeerling.com in Drupal, I decided to use the testing domain new.jeffgeerling.com . This presented me with a challenge, once I started working a bit more on the site, as I set up imagecache, the file system, the favicon, the logo, internal images in posts, images inserted into blocks, etc., into my /sites/new.jeffgeerling.com/files directory.

If I simply renamed the directory to 'jeffgeerling.com' and went


追憶


最近都在看外國電視劇,總會想起最早的追劇記憶。

我與所有澳門小朋友一樣由無線的電視劇餵大,但到了反叛的年齡就會想做些不一樣的事,看些不一樣的電視,於是一有機會就會看英文台。

那時候追了幾年的是長壽喜劇Cheers,

The danger of software suspend on servers

One of the interesting things about modern servers is that they oftenhave the same sort of power-save support that desktops and laptops have,including the ability to be suspended in various ways. Usually this isharmless, but I am not convinced that it's a good idea in general. So,here's an amusing story to show why I feel that way.

We have some number of LTSP based X terminalsthat run regular X sessions on our collection of general login servers.This being the modern world


相反的位置

由第幾日開始,人會選擇位置來坐?

每搬一次屋、每轉一份工,都要從新適應上班的路線,從頭熟習同車每一副疲倦的面孔,以及慢慢調節時間出門,以追逐最接近遲到的那一班車。由第幾日開始,我會開始留意哪一個座位最好

連交響樂大師都出iPhone App?

美國洛杉磯愛樂管弦樂團最近委任了Gustavo Dudamel作為音樂總監,為了隆重其事兼搞搞新意思,哈,就連你一向可能以為嚴肅古板的音樂大師,也順應潮流出了一個iPhone App來宣傳一下。

先揀一首由洛杉磯愛樂管弦樂團演繹的古典樂章,拿起


賣創意賣飛弗,Samsung ST550自拍王。

近年阿姐阿哥阿叔阿嬸都幾乎人人一台單鏡反光機,加上不少手機拍攝功能已日益媲美一般數碼相機,我還以為卡片型 DC 仔市場理應可以收皮,誰不知專為 snap shot 而設的 DC 仔依然長賣長有,各大品牌的款式顏色功能換完季再換季,

Continue reading...

只是希望笑



中秋節看了黃子華在威尼斯人演的棟篤笑《嘩眾取寵》,我是他的忠實支持者,屬於未入場就想嗌“回水”那種,想不到他真的未開場就安排時間讓大家嗌“回水”,真是大快人心。

“回水”是黃子華很久之前在演出中講過的話
Continue reading...

Moved to Drupal. Hello Drupal!

As of today (October 5, 2009), I have moved all the content off the old Lifeisaprayer.com into a new Drupal-based site, in order that I might not have to do so much manual labor in maintaining and updating the site.

This has been a long time coming, as I had the idea to move to a CMS (it was a heat between Drupal (for extensibility) vs. WordPress (for it's ease of use for blogging). But as I


The problem with security bugs is that they aren't bugs

Here is a thesis that I have been mulling over lately:

One reason that security bugs are hard is that they aren't bugs. Inregular bugs, your code doesn't do things that you want it to. Insecurity bugs, the end result is that your code does extra things,things that let an attacker in. Ergo, security bugs are actuallyfeatures that you didn't intend your code to have.

(Often security bugs are created by low-level mistakes that are regularbugs.


Windows 些粉博客聚

老老實實,受夠了又大食又問題多多的Windows Vista,我一直都期待Windows 7的來臨,所以早前接到Microsoft的邀請出席這個Blogger event,我也第一時間報名了。

公司其實早有同事在試用Windows 7,但我不想我電腦的OS裝完又要拆,所以一直等了又等。而我身

Continue reading...