Welcome To Snipplr


Everyone's Recent Snippets



Recursively removes all .svn directories within a directory
23 1566 posted 15 years ago by speck
1 334 posted 2022 years ago by maurus
17 588 posted 15 years ago by bomberstudios
reference: \n http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html
7 457 posted 2022 years ago by aravet
1 442 posted 2022 years ago by jhenry
This script will allow you to alternately place a style on objects (in this example, every other list item).
10 495 posted 15 years ago by neogeek
Fetch the results of a MySQL query.
4 423 posted 15 years ago by neogeek
Fetch a list of tables in a specific database.
7 546 posted 15 years ago by neogeek
Fetch a list of available databases.
7 530 posted 15 years ago by neogeek
Similar to the file_put_contents() function in PHP5 built for PHP4 (will not cause errors on a server running PHP5).
0 491 posted 15 years ago by neogeek
1 399 posted 2022 years ago by KernelPanic
A quick and simple way to search a MySQL database. Example: mysql_search('items', 'title tags', isset($_GET['q'])?$_GET['q']:'', Array('columns'=>'*', 'method'=>'OR', 'extra_sql'=>'AND active = "true" ORDER BY id DESC'));
67 2699 posted 15 years ago by neogeek
This is a collection of US States (Long and abbreviated names) and world countries. There are a few examples of usage below the collections.
41 2433 posted 15 years ago by neogeek
A basic XHTML 1.0 Transitional template with CSS cross-browser fixes already in place.
4 570 posted 15 years ago by neogeek
Used to change the color of a text box.
2 430 posted 15 years ago by kathyd
3 355 posted 15 years ago by jhenry
2 372 posted 2022 years ago by maurus
This is a quick & easy system for changing the base of any number.
0 548 posted 15 years ago by Zikes
Displays the file type and file creator designations for any Mac OS document or application.
3 541 posted 15 years ago by splorp
11 498 posted 2022 years ago by gardano