Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 497 498 499 500 501 ... 553
for the filter value I'm not quiet shure. advice is welcome!
8 1410 posted 17 years ago by Wiederkehr
4 1837 posted 17 years ago by wolfie
I got this code from http://blog.vishalon.net/Post/57.aspx The actual two methods required are function doGetCaretPosition (ctrl) { var CaretPos = 0; // IE Support if (document.selection) { ctrl.focus (); var Sel = document.select...
3 5313 posted 17 years ago by arunpjohny
Lorsque vous cherchez le cheminement jusqu'à une fonction/méthode particulière, vous ajoutez un « debug_print_backtrace() ; » dans celle-ci et lors de l’exécution ça vous affiche un truc du style : #0 MusicFactory->loadDataForDetail(925...
0 1146 posted 17 years ago by olive
Example of serializing a lisp variable.
0 3304 posted 17 years ago by jarnaldich
0 1681 posted 17 years ago by zingo
/* ---===[ EXAMPLE ]===--- */ var TT = new AssociativeArray(); TT.add("k-1", "Value 1"); TT.add("k-2", "Value 2"); TT.add("k-3", "Value 3"); TT.add("k-4", "Value 4"); alert(TT.to_string());
1 1108 posted 17 years ago by vbert
1 1011 posted 17 years ago by ctran
I'm not sure where this comes from, although it looks official. It's easy to implement, but to change the height of the scrollbar you have to delve into the developer assets folder within the FLA.
1 1477 posted 17 years ago by Winkyboy
Creates a SSL connection with delicious API using the HTTP basic authentication.
4 1527 posted 17 years ago by pmd
/* --==[ 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 1609 posted 17 years ago by vbert
Replace invalid to valid file name by using RegEx
0 1440 posted 17 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 1147 posted 17 years ago by zachharkey
Wasn't fully tested :) Just for reference...
3 1508 posted 17 years ago by oxisound
(c) copyright Stephen Chapman, 1st Jan 2005. Example: alert('http://'+uri.dom+uri.path+'/folder/file.js');
0 1276 posted 17 years ago by oxisound
Table as a MAP with 2D keys (row and column).
1 1184 posted 17 years ago by roock
0 1380 posted 17 years ago by udayrayala
1 1271 posted 17 years ago by frakim
0 882 posted 17 years ago by chucktrukk
0 1104 posted 17 years ago by chucktrukk
0 965 posted 17 years ago by chucktrukk
0 986 posted 17 years ago by chucktrukk
Returns the cartesian product of the receiver and the arrays given as arguments.
1 1561 posted 17 years ago by ishikawa
2 1401 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 1881 posted 17 years ago by ches
The following block should live in your theme's page.tpl.php
2 1287 posted 17 years ago by zachharkey
1 ... 497 498 499 500 501 ... 553