October 2011
1 post
isUnique validation with Lithium
This validation rule allows you to validate unique values of any field in any model.
Mariano Iglesias posted an updated version of the validator rule, which supports existing records. Here is the updated version.
<?php
/**
* isUnique validator for any model. Example usage in model:
*
* public $validates = array(
* 'email' => array('isUnique', 'message' => 'This email is already...
September 2011
1 post
Design is how it works
– Steve Jobs
July 2011
1 post
5 tags
Enable SSH Agent (key) forwarding on Mac OS Lion
It looks like in some occasions ssh agent (key) forwarding doesn’t work anymore after upgrading to Mac OS Lion.
Gladly the solution is easy, you just need to run the following command in your Terminal and reboot after that.
ssh-add
This adds your identity back to the authentication agent again.
June 2011
3 posts
5 tags
2 tags
Op maat gemaakte apps voor MKB'ers met bestaande... →
“Komende jaren zal mijn werk steeds minder uit het zelf ontwikkelen van online software bestaan, maar meer uit het koppelen van bestaande Software as a Service (SaaS)-oplossingen en het in een logisch geheel gieten.”
May 2011
1 post
Downgrading a PECL module
Downgrading a PECL module is quite easy.
pecl install -f module-x.x.x
-f makes sure the current installed version of the module will be overwritten.