Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 508 509 510 511 512 ... 553
This persists the dynamic classes generate by the .net serialize to disk at location C:\Documents and Settings\A063913\ASPNET\Local Settings\Temp Note. This will allow you to debug into the serialized classes from VS2005
1 1752 posted 18 years ago by rengber
3 1777 posted 18 years ago by yuconner
Don't use the -l switch if you don't want a new line.
1 1884 posted 18 years ago by 0xced
Oh so sweet. A big thanks to Chris Poole for this one.
1 1173 posted 18 years ago by Hanek
Open up terminal, paste the code below, then log your user out.
0 1518 posted 18 years ago by chrisaiv
Apologies if I haven't explained this to well, I'm still trying to get my head round closures.
0 1306 posted 18 years ago by 1man
MS Excel Macro para escribir números en letras
0 1496 posted 18 years ago by j_junyent
0 1486 posted 18 years ago by arcturus
This method allows you to call a function as a method of another object. The first argument the call method expects is the object it is to operate on. Any others are part of the function. Note how the this keyword now refers to the comp object, so a...
0 1490 posted 18 years ago by 1man
The important thing to notice is the () operator in a[2]. It is invoking the function inside a[0] with the argument a[1].
1 1564 posted 18 years ago by 1man
Every function has an object called the arguments object. This is an object that contains all the arguments that were passed to the function. The example below shows how to access these. Very rarely used but useful to know. Note: it may look like an...
2 1926 posted 18 years ago by 1man
Simple way of allowing functions to take optional arguments. Always place the optional arguments last, so you don't have to explicitly pass an argument as "undefined".
3 1729 posted 18 years ago by 1man
Implement "Asides" in a WordOress blog just with the Sandbox theme and CSS
2 1435 posted 18 years ago by j_junyent
4 2712 posted 18 years ago by zingo
Si miramos al horizonte empieza a deslumbrar el futuro del CSS, con la salida de CSS3 la vida de los diseñadores web va a mejorar considerablemente y no es para menos, por que con las mejoras que se están acercando ¿quien no se aprovechará de ell...
4 1581 posted 18 years ago by j_junyent
blacnk stylesheet for the Sandbox WordPress theme
1 1546 posted 18 years ago by j_junyent
Show a user picture in wordpress
0 1384 posted 18 years ago by j_junyent
Getting SuperSleight running on a page is quite straightforward, you just need to link the supplied JavaScript file into your document inside conditional comments so that it is delivered to only Internet Explorer 6 or older.
3 2283 posted 18 years ago by jonhenshaw
Just call the function in an HTML element and it would flip the text in it.
1 1701 posted 18 years ago by iTony
Running this command will append a line with given values to a file you specify. Replace words between < and > with the values you desire.
1 2070 posted 18 years ago by engel
Add this template before functions in a library, in order to give a good description of what it is and what it does. Replace all in < and > with your values.
2 1920 posted 18 years ago by engel
Pass a user-inputted variable to this function in order to prevent SQL injection. Example: mysql_query("INSERT INTO table VALUES('" . sql_sanitize($_POST["variable") . "')"); Instead of: mysql_query("INSERT INTO table VALUES('" . $_POST["var...
34 12514 posted 18 years ago by engel
1 1442 posted 18 years ago by wintondeshong
0 1320 posted 18 years ago by natalie
ej: echo keepqsSinParametro('hola','hola=mundo&mundo=lindo&hola=chau'); #out = mundo=lindo
0 1383 posted 18 years ago by nicolaspar
0 1277 posted 18 years ago by vanne
0 1266 posted 18 years ago by mandric
1 ... 508 509 510 511 512 ... 553