Archive for the ‘Uncategorized’ Category

Baseline tutorial, a must see

Friday, April 12th, 2013

http://coding.smashingmagazine.com/2012/12/17/css-baseline-the-good-the-bad-and-the-ugly/

as a tool :

http://keyes.ie/things/baseliner/

and to work it in REM :

http://snook.ca/archives/html_and_css/font-size-with-rem

Comment utiliser inline-block

Friday, March 8th, 2013

Suivez ce lien:
En français
Le post est intéressant surtout en ce qui à trait au problème que l’on peut rencontrer lors de l’utilisation de inline-block.
Une autre bonne présentation des options display:
En français

Keyboard not responding in linux terminal,

Monday, January 7th, 2013

When you hit ctrl-s in terminal it pauses the input,
Hit ctrl-q to unfreeze

PHP and comparing string with numbers.

Tuesday, November 6th, 2012

On a comparisons like if( $string == 0) the results are not trustworthy. You should use if( $string === 0) see this :

https://bugs.php.net/bug.php?id=54547.

I actually found this when doing a comparison like if( $string == “string” ). When $string is a numeric string it is cast to integer and generates a wrong false when $string = “0″.

Maximum function nesting level of ‘100′ reached

Thursday, October 11th, 2012

“If you use Xdebug in your development setup, you may receive a Maximum function nesting level of '100' reached, aborting! error. This is due to the xdebug.max_nesting_level PHP setting, which defaults to 100.

This directive limits recursion to 100 calls which may not be enough for rendering the form in the template if you render the whole form at once (e.g form_widget(form)). To fix this you can set this directive to a higher value (either via a PHP ini file or via ini_set, for example in app/autoload.php)”

source: http://symfony.com/doc/current/cookbook/form/form_collections.html