Welcome To Snipplr


Everyone's Recent Snippets



1 ... 497 498 499 500 501 ... 552
Replace invalid to valid file name by using RegEx
0 2045 posted 18 years ago by tranvinhnt
Say you wanted the following 4 tabs: bodoni, helvetica, frutiger, univers, each outputting a separate block view of 3 teasers each. This is what your markup would look like:
1 1668 posted 18 years ago by zachharkey
Wasn't fully tested :) Just for reference...
3 2107 posted 18 years ago by oxisound
(c) copyright Stephen Chapman, 1st Jan 2005. Example: alert('http://'+uri.dom+uri.path+'/folder/file.js');
0 1812 posted 18 years ago by oxisound
Table as a MAP with 2D keys (row and column).
1 1766 posted 18 years ago by roock
0 1947 posted 18 years ago by udayrayala
1 1836 posted 18 years ago by frakim
0 1366 posted 18 years ago by chucktrukk
0 1581 posted 18 years ago by chucktrukk
0 1459 posted 18 years ago by chucktrukk
0 1528 posted 18 years ago by chucktrukk
Returns the cartesian product of the receiver and the arrays given as arguments.
1 2233 posted 18 years ago by ishikawa
2 1981 posted 18 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 2555 posted 18 years ago by ches
The following block should live in your theme's page.tpl.php
2 1865 posted 18 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 1944 posted 18 years ago by cyo
0 1818 posted 18 years ago by eszpee
1 1991 posted 18 years ago by jags_sonawane
From 4 Guys from Rolla
1 1899 posted 18 years ago by rengber
Shows the browser that an RSS feed is available for a page.
2 2331 posted 18 years ago by rengber
0 2131 posted 18 years ago by zingo
0 2235 posted 18 years ago by zingo
Originally written by Erik Kastner (@kastner).
1 1961 posted 18 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 2235 posted 18 years ago by berkes
1 ... 497 498 499 500 501 ... 552