Welcome To Snipplr


Everyone's Recent Snippets



1 ... 236 237 238 239 240 ... 553
A "quick and dirty" way to delete a directory. For more cleaner implementation, see http://www.google.com/codesearch/p?hl=en#SS2by_AKaLs/src/org/apache/commons/io/FileUtils.java&q=cleanDirectory&l=972
0 1313 posted 15 years ago by studioevoque
0 1388 posted 15 years ago by rabc
0 1494 posted 15 years ago by rabc
Drupal 6 Do this after $view->execute() has already been called
0 1421 posted 15 years ago by jonathanpglick
Count commetns and return value into the post
0 2921 posted 15 years ago by howardpanton
if window.jQuery is undefined, there must have been a problem downloading the script from the CDN. In that case, proceed to the right side of the && operator, and insert a script linking to a local version of jQuery.
1 1179 posted 15 years ago by Deej
0 1111 posted 15 years ago by hamsterbacke82
0 994 posted 15 years ago by bluestan
Can now use the class as a styler
0 3901 posted 15 years ago by chendrix
Wordpress creates an anchor with a class .post-edit-link for styling
0 1104 posted 15 years ago by chendrix
Brings single or multiple results from a mediawiki search back as an easy to use array
0 1231 posted 15 years ago by adamzwakk
1 2706 posted 15 years ago by danwhite85
0 1333 posted 15 years ago by dre1080
General Notes: Don't use "import" command Steps for creating new svn project http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-import.html#tsvn-dug-import-in-place 1. Use the repository browser to create a new project folder d...
0 3478 posted 15 years ago by rumremix
The "design/header/logo_src" matches the path column in the core_config_data table in the database. You can use the path value to load the value of any config row.
0 1291 posted 15 years ago by TioSolid
0 758 posted 15 years ago by brian73185
For your Air for Android application to properly close you need to define some handlers and respond to them.
0 1961 posted 15 years ago by sidneydekoning
It 's a very simple way to get a little of information. Use for a quickly view.
0 1386 posted 15 years ago by wnasich
This function will return the correct url for the timthumb php script (wordpress 3.0 or higher required!) Usage: just call the function in your theme with the post id as parameter, it will return a value so store this into a variable (must be ins...
0 1256 posted 15 years ago by krike
When a link is clicked, call up this function. Parameter message = message you want to display after click url = page you want to forward to if the user clicks OK
1 1314 posted 15 years ago by chopbust
This is to call up Javascript alert through PHP. I hate switching between echoing Javascript while writing PHP so I wrote one in PHP.
0 1624 posted 15 years ago by chopbust
1 ... 236 237 238 239 240 ... 553