Posted in Footprints + Diary | By tarotoast |
Byebye Eka & Seana :’(
Hello convenience and food.
Byebye big house, but someone else’s house.
Hello new sweet home and peace of mind.
Looking forward to the next move :)
Next Move: Summer 2010.
Read more |
1 Comment » |
November 30th, 2009
Posted in Footprints + Diary | By tarotoast | Tags: code osx geoip compile
Run the configure script as the following:
MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS=”-arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp” CCFLAGS=”-arch i386 -arch x86_64 -g -Os -pipe” CXXFLAGS=”-arch i386 -arch x86_64 -g -Os -pipe” LDFLAGS=”-arch i386 -arch x86_64 -bind_at_load” ./configure
Read more |
No Comments » |
November 15th, 2009
Posted in Footprints + Diary | By tarotoast | Tags: geoip, python
GeoLite City vs GeoIP City:
|
GeoLite City |
GeoIP City |
| Cost |
Free |
$370 initial, $90 per month updates |
| Coverage |
Worldwide |
Worldwide |
| Accuracy |
Over 99.5% on a country level and 79% on a city level for the US within a 25 mile radius. More details |
Over 99.8% on a country level and 83% on a city level for the US within a 25 mile radius. More details |
| Redistribution |
Free, subject to GPL/LGPL for APIs and database license. Commercial redistribution licenses are available |
Please contact us |
| Updates |
Updated monthly, at the beginning of each month |
Updated monthly. For binary format, weekly updates, automated updates available by using geoipupdate program included with C API |
Very evil indeed.
- Download and install GeoIP C API from here.
- Download and install GeoIP Python API from here.
- Download latest GeoLite City Binary Format from here.
- Extract GeoLite City file to /usr/local/share/GeoIP/
Example uses of API can be found in test*.py that comes with Python API.
Read more |
No Comments » |
May 25th, 2009
Posted in Footprints + Diary | By tarotoast |
- Use svn 1.44’s svnadmin to create repository
- Use Macport to install python 2.6 and its subversion bindings
- cp /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Trac-0.11.4-py2.6.egg/trac/admin/templates/deploy_trac.fcgi /Library/WebServer/CGI-Executables/deploy_trac.fcgi
- edit /Library/WebServer/CGI-Executables/deploy_trac.fcgi and add in #!/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python on first line
- Follow ‘Configure Apache to run TRAC using FastCGI’ section in Installing a Secure Subversion Server on Leopard
- Add a plist:
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
<key>UserName</key>
<string>root</string>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<true/>
</dict>
<key>Label</key>
<string>svnserve.plist</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/svnserve</string>
<string>-d</string>
<string>-r</string>
<string>/var/svn</string>
</array>
</dict>
</plist>
Very PITA at some steps.
Read more |
No Comments » |
May 23rd, 2009
Posted in Footprints + Diary | By tarotoast |
今天是沒有上班的禮拜五,外面是大好天氣。雖然說沒有上班不過昨晚剛下飛機後才又接到一個 ticket ,有種想要先修一修的感覺。很久沒有好好的寫 blog 了,總覺得正在等待考試結束的我現在最符合邏輯的事情就是來打一篇近況。
上禮拜有個大學同學忽然間丟我 email 問我說我是不是還在 Apple 上班,我都還沒回他之前他就在 facebook 上面問說是 xx 建築物嗎?在 Directory 裡面打上他名字發現不知道什麼時候他也跑來這邊上班了,我在二樓他在一樓。他畢業後就跑去印度上班了,不知道在想什麼。不過在印度領美國的薪水聽他說起來過的跟凱子一樣,然後騎著一台 150 cc 的機車就像開著法拉利一樣厲害。唔,美國人的想法很奇妙。不過他被印度公司派回來美國後又變成凡人了。
最近的工作表現應該算還不錯,主管的主管似乎很喜歡我,所以暑假後應該會遠端半工半讀。不知道那時候領的薪水會是現在的幾分之幾就是了。
技術心得的部份嘛,我覺得轉到了 IS&T 以後的確有學到不少東西,不過也都只是自己看文件自己學就是了。沒有自學能力的人好像不大可能活在這個環境下。很感慨的部份是,我發現所有對我現在工作有用的知識,好像都是我讀書讀累了在摸魚時候玩會的。唯一一個有相關的大概就是 183 時候做的 project 用 symfony 這個 framework 多少可以提供一下 vs codeigniter 的意見。唔,那時候接觸到的 js framework 好像也是有幫助啦。
暑假希望可以回台灣兩個禮拜,不過完全還是未知數。回台灣好貴,光是機票 (x2) 大概就要算 3k,然後回台灣開銷 1k 應該跑不掉。4K 就在回台灣的兩個禮拜內 byebye,不知道耶。 Eka 不知道該怎麼辦,大概託付給我妹的同學吧。我好想要每天吃飯的時候都可以開個門回到台灣的夜市逛,頂多剛開始幾天會勞賽,再來應該也會習慣吧。台北好像有好多個跟我不熟的表弟妹,回去切磋一下感情還有觀察一下現在的小朋友在那個年齡是在想什麼。我也想要在澎湖的珊瑚礁死光之前去浮淺阿,也想要跟 55 說我也有去游過日月潭或者爬玉山,也想要再去淺水,也想要在不知道某國家某棟大樓完成前去 101。新診所都還沒去過咧,好多事情想做喔,還是回台灣好了。
Eka 好可愛 <3
我寶貝也好可愛 <3
Read more |
5 Comments » |
May 15th, 2009
Recent Comments