2008年8月22日星期五

做古惑仔(二)做大佬唔洗做, 搵macro robot 做你條o靚

玩古惑仔其實好robotic, 寫macro 唔算難. 用左iMacro 黎寫, 每小時第一分鐘開始, 隔十五分鐘自己save 錢, 做任務同打人.

用法:
  1. download firefox
    http://firefox.com

  2. download imacro plugin
    https://addons.mozilla.org/en-US/firefox/addon/3863


  3. close firefox
  4. download this macro: Facebook.zip
  5. unzip and copy Facebook folder to "My Documents\iMacros\Macros"



  6. Edit "My Documents\iMacros\Macros\Facebook\Run.js"
    change the number into your favourite people that you want to bully, (you can add MORE than 3 id)
    var hit_list = new Array('12345678','1235813','31415926');

  7. open firefox and login facebook

  8. open iMacro Sidebar

  9. on iMacro Sidebar, select Facebook->Run.js

  10. click Play at bottom of side bar

  11. Minimize firefox
  12. open another firefox and do other meaningful task
註: 當facebook 出error 時, macro 會skip, 下次十五分鐘再redo想停既話, close 左個firefox 就得


都係做多d 有意義既事吧~

2008年8月8日星期五

做古惑仔 (一) 古惑仔都要識計數, 用excel

facebook 興玩古惑仔, 我自己就覺得唔太好玩~ 以前forum 打仗仲可能好玩d
古惑仔純粹升level, 朋友之間冇乜競爭可言,唔比打自己個frd, 又唔比一齊打人. 龍頭大哥只係隨便出街搵人仆濕下個頭打劫,目的係為左令到自己重傷 而令自己唔會比人打到劫,最搞笑既係想行出街搵人打,但係條街個個人都重傷而唔比你打. 結果係做完任務搵完錢存入銀行然後等比人打.
同朋友完全冇interaction, 反而出買朋友起碼可以買起人地男女朋友黎炒仲好玩d
至於呢類game, o係facebook之前已經大把. facebook自己本身亦好多呢d game, 完善過古惑仔既game有好多(mob war, counter strike), 至於古惑仔咁hit, 我真係不得其解, 或者群眾效應吧.
至於6waves, 如果我冇記錯, 我有朋友in 過, 佢話個老細in 佢o個時話會投資兩年落facebook, 如果搵唔到錢就唔做, facebook 廣告market我唔睇好, 我已經習慣ignore 佢d ad, 唔知6waves 或facebook 自己捱唔捱到咁耐. 不過佢有時用user 朋友d 相黎賣廣告我真係超級反感. 如果佢冇agreement寫低話俏像會被使用, o係外國一定告到佢luck褲
我自己add 左古惑仔, 主因都係人地係咁invite, add 左都唔係正常咁玩, 而係想計下數玩下macro.
話說古惑仔有得買地盤賺錢, 不過一睇就有d 怪, 因為越高級既地盤, profit rate 越低, 而每買同一類地盤, 就會越貴. 好奇地為左計optimal solution, 同埋為左令古惑仔冇咁悶, 用少少時間整左個excel,
再詳細d 計下, 究竟儲錢買profit rate 最高o個個, 定係買左profit rate 細少少既地盤賺錢黎買好d.
結果係in general, 儲錢買optimal 好d.
好, excel 數學堂上完, 下堂做firefox macro.

2008年8月7日星期四

[g2c] g2c Mapplet is added to google map directory



之前寫既Google Map to CentaMap (g2c) Mapplet 終於 加入左落 Google Map Directory 。
而家只要o係工具度打 ”CentaMap“ 就可以搵到

或者用呢個連結

我個人就鐘意用 Bookmarklet 多D。因為多數都係想搵OPENRICE 既舖頭o係邊

Bookmarklet 已經試過o係Safari, Opera 等Browser 試過,沒有問題。

2008年8月1日星期五

[g2c] Mapplet for maps.google.com.hk

I created a "Google link to CentaMap" mapplet for maps.google.com.hk. So that you are able to open centamap in maps.google.com.hk in mapplet way. Please try.

http://maps.google.com.hk/ig/add?synd=mpl&pid=mpl&moduleurl=http://www.mcchung.com/lab/g2c/g2c.xml

I also send my mapplet to google map directory. Hopefully google allow this mapplet shown in the directory. Also hope google add hk transit information soon.

2008年7月31日星期四

[g2c] Google Map / Openrice link to CentaMap

[g2c] google map 連去 centamap 中原地圖
因為本人為食既關係, 經常去行openrice. 睇下有咩好食. 由其是openrice 加入左google map 就更加方便.
不過google map 有個不足既地方, 就係缺乏交通資訊, 想查下附近有咩巴士撘都唔得. 所以經常要去中原網頁去查.
為左方便自己, 寫左個script 同 bookmarklet 黎連去中原地圖. 只要一click 個bookmark 就會去到中原地圖相應既地址.
使用方法好簡單:

For FireFox:
  1. 拖曳以 g2c 連結到bookmark toolbar


  2. 到openrice/googlemap 找個有地圖既頁面
  3. 按一下g2c 既bookmark


For IE:
  1. 用滑鼠右鍵按 g2c 連結

  2. 加到我的最愛 的 "連結" 或 "Link" Folder


  3. 到openrice/googlemap 找個有地圖既頁面
  4. 按一下g2c 既bookmark


註: 此bookmarklet 有可能被popup blocker 阻隔, 請加入openrice 為popup allow list
另因implementation 問題, 位置會有可能出現少許偏差, 我已盡量將錯誤減低.

當你加入g2c bookmark, 可以試下以下連結


歡迎留下意見. 如有其他website 想納入此function, 歡迎提出.
此function 是第一步, 本人另有其他計劃既打算 (事實上我想google 幫我做埋), 如果你有其他project 既提議, 歡迎聯絡交流

mcc
==================================

Hi All,

I like to use Openrice.com to search for food. Openrice is so great that integrated with Google Map to show the place of restaurants. Google Map is great, but it is not as useful as Centamap in Hong Kong (eg. you can't check the nearby bus station in Google Map, but Centamap). That's why I write this little tool to take user from the Google Map to Centamap.

The usage is simple:
For FireFox:
  1. Drag and drop the g2c link into your bookmark bar.
  2. Go to openrice and search for a restaurant.
  3. Click on the bookmark link you just added to the bar.


For IE6:
  1. Right click the g2c link
  2. Add it to My Favourite
  3. Go to openrice and search for a restaurant.
  4. Click on the bookmark link you just added.

Open the following site and click on the bookmark to try!

Please do leave me comment or feature request. Other map projects requests are also welcome.
I have several projects in my mind to enhance google map usability ( I prefer google will develop them for me, more than I do it for google). If you get any big idea, please do feel free to contact me.

mcc

[pmod] put.hk modification - more user friendly

對put.hk介面作出更改, 並增加favorites newsgroup list 到put.hk 左面的menu, 方便閱讀.
並可以對favorites list 備份及還原

For FireFox: pmod

For IE6: pmod

用法:
  1. 將上面的pmod 連結加進 IE / Firefox 的bookmarks bar 內
  2. 用put.hk 睇newsgroup 並按右上的[Favorites] 連結將newsgroup 加進favorites list
  3. 完成favorite list 後, 按pmod bookmark

  4. 左手面既menu 會多左一排favorites newsgroup list

========================================
Add favorites list in the left hand side menu, allow favorites backup and restore.

For FireFox: pmod

For IE6: pmod

Usage:
  1. Add the above pmod link to your bookmarks
  2. Go to put.hk, select your favorite newsgroups
  3. Click [Favorites] that located in the right upper frame to add the newsgroup to favorites
  4. Once you finished adding favorites, Click on the pmod bookmark
  5. A favorites list should be placed on the left side menu.