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 2092 posted 18 years ago by rengber
3 2196 posted 18 years ago by yuconner
Don't use the -l switch if you don't want a new line.
1 2240 posted 18 years ago by 0xced
Oh so sweet. A big thanks to Chris Poole for this one.
1 1512 posted 18 years ago by Hanek
Open up terminal, paste the code below, then log your user out.
0 1872 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 1659 posted 18 years ago by 1man
MS Excel Macro para escribir números en letras
0 1829 posted 18 years ago by j_junyent
0 1903 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 1857 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 1943 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 2287 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 2088 posted 18 years ago by 1man
Implement "Asides" in a WordOress blog just with the Sandbox theme and CSS
2 1812 posted 18 years ago by j_junyent
4 3193 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 1967 posted 18 years ago by j_junyent
blacnk stylesheet for the Sandbox WordPress theme
1 1898 posted 18 years ago by j_junyent
Show a user picture in wordpress
0 1774 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 2694 posted 18 years ago by jonhenshaw
Just call the function in an HTML element and it would flip the text in it.
1 2094 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 2490 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 2305 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 13949 posted 18 years ago by engel
1 1804 posted 18 years ago by wintondeshong
0 1657 posted 18 years ago by natalie
ej: echo keepqsSinParametro('hola','hola=mundo&mundo=lindo&hola=chau'); #out = mundo=lindo
0 1750 posted 18 years ago by nicolaspar
0 1596 posted 18 years ago by vanne
0 1611 posted 18 years ago by mandric
this launches vi so you can add the files/dirs you want to ignore. i'm not happy.
4 2068 posted 18 years ago by mandric
1 ... 508 509 510 511 512 ... 553