Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
/* --==[ EXAMPLE ]==--
var colors = new AArray();
colors.add("k01", {bk:"#fff",tk:"b",it:"hello"});
var oC = colors.get("k01");
var tT = '';
for(K in oC) tT += "[" + K + "]: " + oC[K] + "\n";
tT += "\n\n";
tT += oC.bk + "\n";
tT += oC...
1
2170
posted 18 years ago by vbert
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
1580
posted 18 years ago by zachharkey
(c) copyright Stephen Chapman, 1st Jan 2005.
Example:
alert('http://'+uri.dom+uri.path+'/folder/file.js');
0
1716
posted 18 years ago by oxisound
Returns the cartesian product of the receiver and the arrays given as arguments.
1
2106
posted 18 years ago by ishikawa
\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
2410
posted 18 years ago by ches
The following block should live in your theme's page.tpl.php
2
1719
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
1844
posted 18 years ago by cyo