Welcome To Snipplr


Everyone's Recent Snippets



1 ... 533 534 535 536 537 ... 553
Removes the ad at the top of a xanga page; place in Webstats below all other codes This one actually works, even in Opera and Firefox,
2 1891 posted 19 years ago by sondosia
This allows you to turn off ajax requests application wide, so that you don't have to do render :layout => false in every controller that needs it.
1 1955 posted 19 years ago by vanne
0 1493 posted 19 years ago by gaunab
Remove all those annoying thumbnail files that Windows users created while browsing your network drive. This command traverses all directories and deletes all "Thumbs.db" files as it finds them.
1 2780 posted 19 years ago by Roshambo
1 1409 posted 19 years ago by micmath
1 1426 posted 19 years ago by micmath
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1 1564 posted 19 years ago by assbach
In Internet Explorer, it's a well-known issue that tags are rendered above other layers and things like drop-down menus. This fix is specifically for the "Son of Suckerfish" drop-down menus (see URL), which are entirely CSS-based (JS is needed only...
1 2081 posted 19 years ago by Todd
This snippet is for use with image_attach, a small contributed module that uses image module to create nice thumbs in any node type. The template snippet makes the images show up larger in the body node, and instead of linking to itself, it links t...
2 1388 posted 19 years ago by berkes
Move all mails with a certain subject (in this case starting with the word "Undelivered" into a backup dir. It is by no means a mail filter, I needed it to clean out the maildirectory after a HDD crash wich caused over 1000000 (one million) local bo...
0 1421 posted 19 years ago by berkes
1 1390 posted 19 years ago by Catfish
With the typical fork+exec method of spawning an application, you are left in the dark about failures in the exec. Once the fork occurs, the "main" process doesn't have any communication channel except waitpid, so it's hard to tell what happened....
1 1603 posted 19 years ago by CUViper
created some navigation buttons for a site i'm working on, this is without images in a horizontal arrangement. kevh.net has the article on creating the vertical navigation, and how to do both using images instead of native CSS styling
1 1800 posted 19 years ago by kevh
This is an example of how to use the articleHandler.class.php , this class can be found @ pietervp.com -> downloads
1 1691 posted 19 years ago by pietervp
1 1379 posted 19 years ago by assbach
toggle a div via JS/CSS style
2 1580 posted 19 years ago by assbach
check if email address is valid
1 1773 posted 19 years ago by assbach
1 3758 posted 19 years ago by assbach
Por ejemplo, haciendo uso del operador ^= (que nos permite seleccionar solo aquellos elementos cuyo atributo especificado coincida, al comienzo de la cadena, con el valor especificado) podremos crear una reglas para determinar el aspecto de nuestros...
4 1899 posted 19 years ago by Hirmine
0 1127 posted 19 years ago by vanity
Los favicon soporta varios (ignoro si todos) los formatos de imagen siguientes: png (type="image/png"), .gif (type="image/gif"), .ico. (etc.). Porc cierto, los favicons soportan trasnparencias.
3 1503 posted 19 years ago by Hirmine
Evitar que en el código de la página se pueda ver “[email protected]”.
2 1759 posted 19 years ago by Hirmine
Just name it s3cp (or similar), chmod it, and then you can do stuff like: s3cp ~/somefile.whatever bucket
1 1748 posted 19 years ago by sudarkoff
Used for rounding corners of a div. Need an upper left corner and an upper right corner. Example page is http://www.ruby-lang.org/en/documentation/quickstart/
3 1978 posted 19 years ago by ryanprel
By Eduardo de la Torre.
2 1757 posted 19 years ago by atinamedia
Grab all users that never logged in.
1 1611 posted 19 years ago by berkes
1 ... 533 534 535 536 537 ... 553