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。

Tuesday, September 14, 2010

Stress Test Tools

Besides using JMeter for Web Stress Test tools, below is a simple tools under Apache.

1. 同時 10 個連線,連續點擊 10000 次 ( 每個 Request 執行完畢後都會自動斷線,然後再重新連線 )

ab -n 10000 -c 10 http://www.example.com/index.aspx

2. 同時 10 個連線,連續點擊 10000 次,並且使用 Keep-Alive 方式連線(當 Web Server 有支援 Keep-Alive 功能時 ApacheBench 會在同一個連線下連續點擊該網頁)

ab -n 10000 -c 10 -k http://www.example.com/index.aspx

3. 將測試的效能原始資料匯出成 CSV 檔

ab -e output.csv -n 10000 -c 10 http://www.example.com/index.aspx



http://blog.miniasp.com/post/2008/06/Using-ApacheBench-ab-to-to-Web-stress-test.aspx

MySQL - little tips - concat function

mysql sharing

this one is correct
SELECT CONCAT('tag_history_' , date_format(sysdate() , '%Y%m%d%H'));

this one is incorrect as concat( is not allow to leave a space in query browser.
SELECT CONCAT ('tag_history_' , date_format(sysdate() , '%Y%m%d%H'));

SQL Server - tips - all table, all column, all stored procedure (sp)

All table
SELECT *
FROM sys.Tables

All column
SELECT SO.NAME AS "Table Name", SC.NAME AS "Column Name", SM.TEXT AS "Default Value"
FROM dbo.sysobjects SO INNER JOIN dbo.syscolumns SC ON SO.id = SC.id
LEFT JOIN dbo.syscomments SM ON SC.cdefault = SM.id
WHERE SO.xtype = 'U'
ORDER BY SO.[name], SC.colid

all sp

SELECT Distinct SO.Name , sc.text
FROM sysobjects SO (NOLOCK)
INNER JOIN syscomments SC (NOLOCK) on SO.Id = SC.ID
AND SO.Type = 'P'
AND SC.Text LIKE '%ftsAccount%'
ORDER BY SO.Name

Wednesday, May 19, 2010

DEFCON CTF 2010 Pre-qualifying Round this weekend ~

Now preparing my new Mac book for the Capture The Flag game this weekend:

http://ddtek.biz/register.html
Qualifications open: 21 May 2010 19:00:00 UTC
Qualifications ends: 24 May 2010 02:00:00 UTC

will play the game with other Valkyrie-X Research Lab mates.
hopefully can learn more and practice more on reverse engineering and hacking ~

Tuesday, April 27, 2010

Startup for ru05 - coding for fun!

RU05 is founded by passionated and experienced Java, C/C++, Ruby On Rails developers based in Hong Kong. They deliver quality systems in agile way. They do consultation on agile software engineering and application security too.

Looking for challenges and fun. Aiming to use technology to make life easier.

This blog is setup to exchange knowledge and gain more connection with other geeks in the world. feel free to comment here and contact us at ru05[dot]team[at]gmail[dot]com


Team Leads:
3dd13
*
B