Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1115
posted 15 years ago by studioevoque
Drupal 6
Do this after $view->execute() has already been called
0
1232
posted 15 years ago by jonathanpglick
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
1004
posted 15 years ago by Deej
Wordpress creates an anchor with a class .post-edit-link for styling
0
946
posted 15 years ago by chendrix
Brings single or multiple results from a mediawiki search back as an easy to use array
0
1078
posted 15 years ago by adamzwakk
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
3267
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
1118
posted 15 years ago by TioSolid
For your Air for Android application to properly close you need to define some handlers and respond to them.
0
1780
posted 15 years ago by sidneydekoning
It 's a very simple way to get a little of information. Use for a quickly view.
0
1227
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
1085
posted 15 years ago by krike