Spain Journey Review – Bunol
終於到了今次旅程的焦點 — 番茄節 La Tomatina
Bunol
簡介
Bunol 位於 Valencia 西面38公里,坐火車大概需要一個小時,不要以為 Bunol 只有 La Tomatina 而出名,其實係 Bunol 50,000年前就有人居住。每年八月的最後一個星期三,就會有三萬多人擠到這個人口只有9,000人的小鎮。目的就是 La Tomatina!
Continue reading Spain Journey Review – Bunol
CakePHP – Read data from an excel file into an array
In the last article – CakePHP – php-excel-reader, we have implement the php-excel-reader. Now i would like to read the excel content for processing instead of just displaying it in the view.
Continue reading CakePHP – Read data from an excel file into an array
CakePHP – php-excel-reader
The next enhancement on the BHJS Alumni website is adding an import function such that a bench of graduates could be created in the Database without adding new member one by one. Importing the records from an excel file would probably the most common and straight forward way.
Continue reading CakePHP – php-excel-reader
Java – Get the content of inputStream from HttpServletRequest
Recently, i got a support case and it is about the inconsistency of the content length declared in the http header and the actual content length of the http request.
So i modified an existing program which will get the http request and manipulate it. I add some codes such that it will get the request inputStream and count it byte by byte before the request manipulation.
Continue reading Java – Get the content of inputStream from HttpServletRequest
Spain Journey Review – Valencia
結束陽光與海灘,向 Valencia 出發!
Valencia
簡介
西班牙的第三大城市,以工業與華倫西亞橙而聞名。羅馬人係公元前兩世紀曾統治此地,之後同樣被回教徒與西哥德人佔領,市中心就可看到不少歷史建築。每年3月12日到19日,當地都會舉行西班牙三大節之一,就是華倫西亞的火祭 Las Fallas。火祭的目的是為了紀念耶穌的父親聖若瑟,19日的聖若瑟日就是火祭的高潮。係火祭其間,西班牙人會穿著特別的西班牙傳統服飾的 Falleros 和 Falleras 的遊行,又會焚燒木做的人偶,整個 Valencia 都會擠滿遊客。
Continue reading Spain Journey Review – Valencia
Apache – ProxyPass
I got a virtual machine which is installed with Apache. Normally, the virtual machine can only be accessed by the host computer. So how could i open the virtual machine service to the entire host network but not limited to the host computer?
This can be done by the Apache ProxyPass. Here is an example of setting up the ProxyPass
Continue reading Apache – ProxyPass
Spain Journey Review – Ibiza
離開馬德里,撘最早的一班機到 Ibiza 。
Ibiza
簡介
Ibiza 位於 Valencia 與 Mallorca (馬約卡島)中間,以陽光與海灘而聞名,係歷史上都曾被羅馬人與回教徒統治。整個島嶼很多地方都被沙灘包圍,更有傳聞說這個小島正是 Colombus 出世的地方。
Continue reading Spain Journey Review – Ibiza
Fedora – Disable IPv6
I got a Fedora VM and it hangs whenever i start the firefox or use the yum command. In addition, it cannot ping my host machine and i want to disable the IPv6 as i was in bad mood. (Again, the IPv6 is not related to the Fedora problem.)
Continue reading Fedora – Disable IPv6
Spain Journey Review – Toledo
去完 Segovia 就回到 Madrid 睡了一晚,等二日就出發到Toledo。就是這天遇到很醜的肥大嬸… =.=
Toledo
簡介
Toledo 的歷史並不比 Segovia 遜色,它的歷史由西哥德人係507年揭開了入侵伊比利半島的序幕,到現在已有1500年歷史。西哥德王於560年將 Toledo 定為首都,之後經歷過由北非來的回教徒的統治,然後被卡斯提爾王國收復,到了1561年先至遷都到 Madrid 。 可見 Toledo 係西班牙歷史中佔了很重的戲份,係西班牙政治與文化的中心。而這古都也融合了回教、猶太教與基督教的文化,這可從市內的建築看得到。
Continue reading Spain Journey Review – Toledo