Baseline tutorial, a must see

By Stéphan Champagne April 12th, 2013, under Uncategorized

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

By Stéphan Champagne March 8th, 2013, under Uncategorized

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,

By Stéphan Champagne January 7th, 2013, under Uncategorized

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

PHP and comparing string with numbers.

By Stéphan Champagne November 6th, 2012, under Uncategorized

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

By siegfried1e October 11th, 2012, under PHP, Programming, Uncategorized

“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



Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/usr/local/bin/curl) is not within the allowed path(s): (/var/www/clients/client0/web2/web:/var/www/clients/client0/web2/tmp:/var/www/stephanchampagne.com/web:/srv/www/stephanchampagne.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin) in /var/www/clients/client0/web2/web/wp-includes/class-snoopy.php on line 202