Allowing anonymous IP-based access to content with Boost, subscription model

On the St. Louis Review website ( case study here ), which offers much of its content based on a subscription model (you must be a subscriber to access the 'premium' content), we wanted to allow those inside our network access to nodes that were marked 'subscribers-only', without having to log in to the website and maintain a user account. Here's how we did it:

1 - Modification of Custom Subscriber Access Code

Our site uses hook_nodeapi() to limit access


Bad / Annoying IP Addresses

From time to time, there is a very disobedient/annoying computer or set of computers that annoy the heck out of me online—usually by attempting to bring down one of my websites, or by trying to access hundreds of vulnerable locations (which makes my server return a bunch of 404s) on my server.

For information on different IPs, I use the online IP information lookup tool at robtex .

Anywho, to cut a long story short, I will list the IP addresses and reverse


The Expendables



In the days without girlfriend, I can only go in the threatre alone. I dare not to watch Going The Distance by myself - so my weekend dessert turned into another extreme - The Expendables by Stallone.

Judging only by the starring cast, the movie starts with a baseline rate of at least 2 stars. From the ever-energetic Stallone, to Jason Statham, Jet Li, Dolph Lundgren, and my favourite Bruce Willis (also Arnold Schwarzenegger). Indeed, the testosterone level remains skyhigh throughout the two hours -

[活動]-台北縣電影藝術節

【台北縣電影藝術節】


由臺北縣政府主辦的「2010 臺北縣電影藝術節」,以「好想和你看電影」為主題,將「看電影」推廣成一種全民娛樂運動。而為 配合本年度的主題,透過大眾傳媒的傳遞,來達到「大家一同共襄盛舉看

下女("Housemaid") ----- 單純的魅力與殺傷力!
























片名 : 下女 (2010) (韓國)
導演 : 林常樹
演員 : 全度妍、李政宰
片長 : 107 分鐘

1. 其實此片的trailer不吸引,也許不是拍得不好,只是我即時想起最近看過的"A Judgement in Stone"(冷酷祭典)(1995)及"Diary of a Chambermaid"(女僕
Continue reading...

學問的自由

由這個學期開始,我的身份已是正教授,也就是說,從今以後我再沒有機會升職了(除非我轉去做大學行政工作,但我一定不會)。由副教授升到正教授,我最強烈的感受是以後做學問的自由大很多了。

以前為了得到tenure和升職,

美食

今個月接連發生不開心的事
有些事多想無益
今日把月初某晚太太請我食飯的手機照片整理出來
算是紀錄今個月比較難得的開心時刻吧



Continue reading...

Pentax 645+FUJI VELIVA 50正片+Pentax 55 2.8

第一次試pentax 645拍正片,曝光是挺準的,可憐的是我把iso調成了100,原來這種菲林是iso 50的,呀...結果低曝了,雖知正片曝光要準,這次真浪費,沖正片的費用要比負片貴呀。

低曝了,色彩特濃,本來這卷富士就是

Continue reading...

選舉完結,事情才剛剛開始

這兩天實在非常睏,對不起各方的朋友欠你們東西,請再等我一下。現在先貼這個不知算是勝利宣言還是落敗宣言的東西。



讓我們一起走得更遠

八十後文藝青年三人參選藝發局,蔡芷筠在藝術教育界以十票險勝,成為藝發局歷來

過活的標準

我們都知道,今時今日,指點別人的生活方式,是種冒犯。如果想好好與人相處,不只是政治和信仰,連生活方式都要避免提及,作為一個聰明的世界仔,你明白始終是足球、股巿和女明星好。

甚麼是生活方式?用比喻來說,每