Showing posts with label codeaholics. Show all posts
Showing posts with label codeaholics. Show all posts

Thursday, June 30, 2011

Google Sites with mobile template. Codeaholics HK website

we just finished one meetup last night. enjoyed it so much. try my best to promote it to more coders in Hong Kong ~


to get some more web presence for Codeaholics HK meetup, I created a Google Sites with the mobile template:
https://sites.google.com/site/codeaholicshk/

Saturday, February 26, 2011

Using Jekyll, Hyde and Heroku for presentation slides

I was sharing architecture of a RU05 program and performance tuning we did on with Mongo.
Codeaholics Feb Meetup


The slides i showed was actually a web page moving like a powerpoint slides.
The source code to generate the slides is available in github.


here I draft out high level steps giving you some rough ideas of the work required to create such webpage. you can find all the detail steps in jekyll, jekyll_and_hyde and rack-jekyll github page.


install required gems and create project:

gem install jekyll
gem install jekyll_and_hyde
gem install rack-jekyll
jh new codeaholics_hk_feb_2011
cd codeaholics_hk_feb_2011

To prepare deployment for the future, generate the static pages into another folder instead of default _site directory. i used "pages" folder in my case:

in the .gems file, include rack-jekyll
follow the github pages to setup _config.yml and config.ru

You can start creating your powerpoint, and read it at localhost:4000

jekyll --server pages
jh generate frontpage
... // generate your static pages
... // keep your jekyll server running until you finish. i explain why below

When you want to deploy to heroku:

git init
git add .
git commit -m ""
heroku create codeaholics_hk_feb_2011
git push heroku master

One issue i saw when generating post was that. I edited my posts markdown files after I stopped the jekyll server, and later when i started it again, no more static pages generated automatically. I guess the service could no longer recognizes which files was edited. I could not resolve this problem. So, i have to create another project and copy over my markdown files to continue.

Friday, December 3, 2010

Codeaholics in Hong Kong

極度期待 Codeaholics Code Jam 同 Meetups。

香港人真係好需要這類技術交流, 用最有效既方法去學習同埋識多D行內人。
當中好多攪手都係超叻既人, 平時去勁有趣Ruby Meetup已經學到超多野。
今次仲可以Technology independent 非商業性咁合作。

http://codeaholics.hk/


Codeaholics objective真係宜家呢一刻香港電腦界最需要既能力。用最好最簡單既方法去做好個SYSTEM, 唔好只侷限於單一種技術。
做左六年SOFTWARE, 見到極大部份業界人仕因為只懂有限既知識, 而永遠用同一種LANGUAGE去做每一件事。為既係工作保障, 亦都為左負少D責任。

但係可恨既係我地已經愛上SOFTWARE, 每天不能不努力做好SOFTWARE。