Welcome To Snipplr


Everyone's Recent Snippets



1 ... 467 468 469 470 471 ... 552
Used for converting, compiling, and reversing tiff files from the Book Center's digital library.
0 1690 posted 18 years ago by rubinsta
0 1580 posted 18 years ago by pmaciver
2 1888 posted 18 years ago by tonic
Pre 1.6 git has some annoying whitespace checking in it's pre-commit hook. Rather than turn it off I decided to have a go at an automated method to fix the issue. Running the first line lists the files that have problems. The second just adds a se...
0 3073 posted 18 years ago by benpjohnson
Create an xml file with this content to tell Tomcat to use seperate folder (can be any folder, even out of tomcat root) as a root folder of your application. Copy this file into TomcatDir/conf/Catalina/localhost
0 1776 posted 18 years ago by Uzbekjon
1 1634 posted 18 years ago by edwinjanmoss
Description print_r - Prints human-readable information about a variable mixed print_r( mixed expression [, bool return] ) print_r() displays information about a variable in a way that's readable by humans. Parameters * expression...
0 2146 posted 18 years ago by ianmonge
You’ll notice the global classes at the bottom, which cover basic styling, and will remove styling that we intially set. For example, the .nobullet and .noindent work great on an unordered or ordered list. You can add your own classes there that yo...
1 1666 posted 18 years ago by ianmonge
1 1726 posted 18 years ago by ianmonge
This method uses the "min-height" property to give "hasLayout" in IE 7, "height" property for IE 6 and the pseudo-element ":after" and "content" property for Gecko based and IE 8 Beta.
2 1878 posted 18 years ago by kcmr
Active Record ORM implementation in ActionScript 3 for AIR's SQLite DB
0 1581 posted 18 years ago by bendalton
Para validar si son dígitos, letras, números enteros o decimales (se puede seleccionar el separador de decimales). La función esDigito() y esLetra() está basada en otros códigos de Snipplr
1 1698 posted 18 years ago by sulfurito
Gracias a este artículo, pude colocar fondos de imagen a para las filas de una tabla.
1 2270 posted 18 years ago by demixo
This snippet is made for textmate (or e editor ?)
0 1853 posted 18 years ago by vanne
Modified just a bit. This version includes the Google Chrome beta.
2 2401 posted 18 years ago by wizard04
The script was modified slightly based on comments.
0 2220 posted 18 years ago by sudarkoff
0 1926 posted 18 years ago by DaveChild
This script should be run from the "master" database. It will destroy the dev copy of a database and restore from the live copy. Code slightly modified from original (linked).
0 1778 posted 18 years ago by DaveChild
Run from within SQL to get list of items in directory to a table.
1 2065 posted 18 years ago by DaveChild
Crops and resizes, maintaining perspective, with a white background.
1 2029 posted 18 years ago by DaveChild
1 2277 posted 18 years ago by DaveChild
This code is both basic and available from 24ways.org, but it's damn handy to reach through the snipplr plugin from textMate. PS: all cred to Rachel Andrew & the 24ways team.
4 2227 posted 18 years ago by stavelin
Based on the ereg family of functions in PHP.
0 2128 posted 18 years ago by DaveChild
Format strings: * %A - AM or PM * %a - am or pm * %m - Month with leading zeroes (01 - 12) * %n - Month without leading zeroes (1 - 12) * %F - Month name (January - December) * %M - Three letter month name (Jan - Dec) * $d - Da...
0 3985 posted 18 years ago by DaveChild
Translated by David Hunter.
0 2710 posted 18 years ago by DaveChild
4 2389 posted 18 years ago by DaveChild
7 3882 posted 18 years ago by DaveChild
1 ... 467 468 469 470 471 ... 552