Welcome To Snipplr


Everyone's Recent Snippets



1 ... 498 499 500 501 502 ... 553
1 1188 posted 17 years ago by frakim
0 823 posted 17 years ago by chucktrukk
0 999 posted 17 years ago by chucktrukk
0 906 posted 17 years ago by chucktrukk
0 921 posted 17 years ago by chucktrukk
Returns the cartesian product of the receiver and the arrays given as arguments.
1 1493 posted 17 years ago by ishikawa
2 1335 posted 17 years ago by dbug13
\Q...\E perl quoting means no ugly escaping in the regex. find's -print0 with xargs -0 is the secret to handling files with spaces in their names.
1 1786 posted 17 years ago by ches
The following block should live in your theme's page.tpl.php
2 1190 posted 17 years ago by zachharkey
Il suffit de créer une page PHP et y placer un phpinfo() ou si vous avez accès au serveur en ligne de commande (Putty, WinSCP, ...), vous pouvez tapez cette commande. Dans l'exemple, nous souhaitons savoir si l'extension openssl est présente et no...
0 1308 posted 17 years ago by cyo
0 1151 posted 17 years ago by eszpee
1 1356 posted 17 years ago by jags_sonawane
From 4 Guys from Rolla
1 1247 posted 17 years ago by rengber
Shows the browser that an RSS feed is available for a page.
2 1626 posted 17 years ago by rengber
0 1436 posted 17 years ago by zingo
0 1471 posted 17 years ago by zingo
Originally written by Erik Kastner (@kastner).
1 1260 posted 17 years ago by jrphelps
A per-region override. ogt_blocks is ran for a region, if a region contains blocks, we search for a theme function named theme_region_regionname(). If exists, we run that, else we just return the concatenated blocks for that region.
1 1535 posted 17 years ago by berkes
An easy debug trick: gives you a variable that you can print in any tpl.php to find out what vars you have available there.
1 1811 posted 17 years ago by berkes
This is a code example which demonstrates how to send Email with attachment using your GMAIL Account.
6 2010 posted 17 years ago by planetcall
CSS files for larger sites can become pretty large themselves. Gzipping or compressing these files has shown to provide a reduction in the neighborhood of 70-80% of the original file size, a fairly significant 'weight loss'.
16 7991 posted 17 years ago by johnself
1 ... 498 499 500 501 502 ... 553