Uncategorized

Time to tweet!

I’ve finally integrated this little blog of tips and tricks with a twitter account.  If you’d like to keep up to date on the latest posts,  please follow me!

DbAcl::allow() – Invalid node [CORE\cake\libs\controller\components\acl.php, line 325]

This is a part of my series.
And it was all going so well until…
DbAcl::allow() – Invalid node [CORE\cake\libs\controller\components\acl.php, line 325]
This is an error you’re likely to encounter if you follow the “Simple Acl Controlled Application” word for word.  I’ve not got to the bottom of whether this should or ever did actually work but [...]

Adding variables to localised (i18n) strings in CakePHP

The localisation (i18n) features of CakePhp are powerful and flexible.  One of the common tasks required when localising text is to provide variables within the text such as numbers or indeed other translated chunks of text that operate independently from the main translation.
In step sprintf() and printf().  Both of these functions are very similar, they [...]

How to use snippets in CF Eclipse (Coldfusion for eclipse)

Snippets in Cf Eclipse can be a powerful way of both reducing the typing you do, and also making sure that code you produce is consistent, and error free.
Not just a collection of bits of code, the dynamic snippets in cfeclipse allow you to speed up repetitious tasks while ensuring accuracy and minimising test time.
Taken [...]

Text wrapping in Photoshop: An excellent tutorial

Today I found an excellent tutorial to demonstrate how to wrap text in Photoshop.  Wrapping text in Photoshop is something I’ve needed to do for a while but never bothered looking it up.  So check it out if you want to wrap text in Photoshop.

Dynamic robots.txt file with .asp (or coldfusion)

Something I had to do a while back, but have had to repeat recently when setting up new servers is setting IIS to run robots.txt files as if they were a dynamic page.  This is because I run a single code base that shows different languages depending on the domain being called.  The process for doing [...]

Snippets in Eclipse

Snippets in eclipse can be one of the greatest incremental time savers  for a developer.  While you DRY principle (Don’t Repeat Yourself), there are somethings, in particular custom function calls or calls to objects/methods that you simply cannot avoid repeating.  Save yourself time and boost your accuracy using snippets in Eclipse. 
I’ve separated out the types of [...]