Tuesday, May 1, 2012

Websites/tools supporting Regular Expression check & generate

During working with .htaccess file (RewriteRule) I found these tools useful for checking & generating RegExpression http://martinmelin.se/rewrite-rule-tester/ http://htaccess.madewithlove.be/ http://regexpal.com/ http://txt2re.com/index.php3?s=http://localhost:8282/images/dvd/index.php&-8&-16 http://gskinner.com/RegExr/

Monday, April 23, 2012

Create Burndown chart & exclude weekends in TFS

Our team starts to use TFS for managing Product Backlog, and this is the first time I work on TFS Burndown chart. Google around and I found this page to help us configure Burndown chart to exclude weekend (By default, TFS keeps weekend in the Burndown chart, so it doesn't reflect correctly your team effort). This makes sure your Burndown chart works correctly with any length of sprint (2 weeks or more) Steps: Add code below to Category Group to exclude weekend
Select the filter tab and enter the following : Filter Expression =Weekday(Fields!DateValue.Value,0) Type Integer (to the right of the fx button) Operator < Value 6
The pop-up Window should like this
Then add this code into Report (right click into the Report, select Properties, then select Code)
' Define other methods and classes here Function NumberOfDaysToAdjustForWeekends(ByVal valNow as Date, ByVal startOfSprint as Date) AS Int32 Dim valCurrent As Date = startOfSprint Dim weekendDaysPassed As Int32 = 0 Do While valCurrent < valNow valCurrent = valCurrent.AddDays(1) If (valCurrent.DayOfWeek = DayOfWeek.Saturday Or valCurrent.DayOfWeek = DayOfWeek.Sunday) Then weekendDaysPassed = weekendDaysPassed + 1 End If Loop Return weekendDaysPassed End Function
Finally, add code below into "Work_Item_Count"'s expression
=Code.Burndown ( Sum(Fields!Remaining_Work.Value), Fields!DateValue.Value.AddDays(-Code.NumberOfDaysToAdjustForWeekends(Fields!DateValue.Value, Parameters!StartDateParam.Value)), Parameters!EndDateParam.Value.AddDays(-Code.NumberOfDaysToAdjustForWeekends(Parameters!EndDateParam.Value, Parameters!StartDateParam.Value)))
Source: http://2e2ba.blogspot.com.au/2011/08/tfs-scrum-templates-and-burndown-report.html

Saturday, March 31, 2012

Links to follow for digital art works and marketing

Actually, these links were noted long time ago, when I worked for digital marketing firm. anyway, it's worth for following up in spare time

News related to Digital Marketing in Asia Pacific
http://www.campaignsingapore.sg/Category/459,digital.aspx

Art links
Deviant Art http://browse.deviantart.com/designs/web/
Zidean Art http://zidean.com/


Digital news
Digital News http://www.campaignasia.com/digital/news/443,101.aspx
Digital Case Studies http://www.campaignasia.com/digital/case-studies/443,99.aspx
Digital Works http://www.campaignasia.com/digital/the-digital-work/443,108.aspx


Digital campaign
http://yahoo.com.vn
http://zing.vn
http://coca-cola.zing.vn
http://forum.mysamsung.vn/forumdisplay.php?f=13

Sunday, February 26, 2012

Monday, February 13, 2012

Interesting tools for PHP code metrics, detectors

http://stackoverflow.com/questions/5611736/calculate-software-metrics-for-php-projects

PHP Depend generates some nice metrics for you.

Here are those I can think about :

phpcpd -- copy-paste detector
phploc -- to do many kind of counts (lines, classes, ...)
PHP_CodeSniffer -- to check if your code respects your coding standards.
phpmd -- mess detector
phpDocumentor / DocBlox to generate documentation (and detect what is not properly documented)

In PHP, those tools are generally not used from Eclipse, but integrated in some Continuous Integration Plateform.

About those, you can take a look at :

phpUnderControl -- was used a lot a couple of years ago -- it has less success now
Jenkins (More or less a fork of Hudson)
And, for that one, see Template for Jenkins Jobs for PHP Projects
Still, if you want to integrate some of those tools with Eclipse PDT, you might want to take a look at PHP Tool Integration.





See our PHP CloneDR for a tool that computes the amount and the precise location of duplicated code. It will find duplicates in spite of reformatting the text, modification of comments, and modifications (up to a degree of [dis]similarity.

There's an example of Joomla processed by the PHP CloneDR at the link.

Monday, February 6, 2012

Tools for code analysis

http://www.ndepend.com/Metrics.aspx#LCOM

TRIZ in creative process & problem sovling

This is just quick note, and will come back later, since I'm quite busy now

http://www.expertprogrammanagement.com/2010/06/introduction-to-triz-triz-tastic/

Digital Inspiration Technology Guide

Change the world with your passion