Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 381 382 383 384 385 ... 553
This is useful for upgrading Drupal modules, etc.
0 1539 posted 16 years ago by jmiller
Ever needed to download a bunch of files, but annoyed by having to copy them all to Speed Download? This is for you..! http://rapidshare.com/files/131035061/file1.rar http://rapidshare.com/files/131049211/file2.rar http://rapidshare.com/files/...
0 1183 posted 16 years ago by Wendelboe
If `views_embed_view()` or just `$view->execute()` are called, the default view settings are used (only shows 10 entries, etc.) so we have to call `$view->set_display()` & `$view->pre_execute()`.
0 1030 posted 16 years ago by jonathanpglick
Code explains itself. I plan to do a lot more work on it - just wanted to throw it up here for a little sharing. Feel free to take it to the next level.
1 1208 posted 16 years ago by brettbergeron
2 1358 posted 16 years ago by PeteW
2 1404 posted 16 years ago by PeteW
2 1885 posted 16 years ago by PeteW
Nice clean, and semantically correct breadcrumb XHTML accompanied by the CSS. Create a transparent GIF of the symbol '>' and save it in /img/gt.gif. This will be used for older browsers that don't support the :after pseudo element.
4 1560 posted 16 years ago by PeteW
Ever wanted to give your cliant an idear on how much disk space they have remaining? The following script will tell your user how much disk space has been used and how much is remaining. In this example $diskspace refers the amount of diskspace you...
1 1431 posted 16 years ago by scopefragger
<p>Cross-browser compatible especially for IE6/7 and makes use of CSS sprites for faster downloading. Download file <a href="http://johnimbong.com/blog/wp-content/uploads/2009/09/curves.zip">curves.zip (75 bytes)</a> which contains the CSS sprite nee...
1 1196 posted 16 years ago by enchance
1 1620 posted 16 years ago by enchance
0 1412 posted 16 years ago by enchance
0 2670 posted 16 years ago by enchance
<form> <input>
0 2626 posted 16 years ago by hotdiggity
Variable/Parameter Discussion : msg = Do you want to display a message box if you have the current version? (true/false) currentversion = The version of the program txtdocumentaddress = The text document web address containing the most updated ve...
2 1686 posted 16 years ago by brandonio21
A nice example of a function that returns another function.
0 3419 posted 16 years ago by narkisr
Groovy has the as keyword which enables the implementation of a Java interface by using the as keyword, its quite easy to mimic this in JRuby.
0 1625 posted 16 years ago by narkisr
convert a string to it's hex representation and back
0 1152 posted 16 years ago by dygor
1 1188 posted 16 years ago by mcarneiro
I notice a lot of addClass/removeClass.. thought maybe I'd post an example on how to simplify that....
0 1643 posted 16 years ago by quickredfox
1 ... 381 382 383 384 385 ... 553