Welcome To Snipplr


Everyone's Recent Snippets



1 ... 118 119 120 121 122 ... 554
0 901 posted 13 years ago by justinscheetz
This is just a quick sample that shows how to have a button visible on a page only if the person has JavaScript enabled.
0 683 posted 13 years ago by EgoAnt
Code snippet that allows developers to use a generic radiobuttonlist in the MVC Framework
0 678 posted 13 years ago by sommertim
Code snippet that allows developers to use a generic radiobuttonlist in the MVC Framework
0 683 posted 13 years ago by sommertim
This requires my [date formatting script](http://snipplr.com/view/54806/javascript-date-formatting/). (date).toISO() converts the Date object to an ISO 8601 string Date.fromISO() converts an ISO 8601 string to a Date object
0 1025 posted 13 years ago by wizard04
This needs to be used with the code that gets output using the quick highlighter. Follow these steps to use with WordPress: First copy your php code Go to http://quickhighlighter.com/ Paste your code into the textarea Click Highli...
0 803 posted 13 years ago by jeremyjared74
I use this to toss all the junk from the header, add a favicon, remove useless admin elements, and block WordPress' ancient jQuery file from embedding.
0 740 posted 13 years ago by ethicka
Really simple jQuery random image
0 800 posted 13 years ago by i-am-andy
0 873 posted 13 years ago by zack
Função para formatar datas em formato UNIX
0 704 posted 13 years ago by Jotape
Verifica se o e-mail e o dominio são válidos.
1 680 posted 13 years ago by Jotape
0 582 posted 13 years ago by Jotape
0 732 posted 13 years ago by Jotape
Descripción: Valida los campos de fechas que requieren ser comparados (una fecha posterior a la otra) enviados por la función validaForm-->http://snipplr.com/view/58245/funcin-validaform-para-validar-formularios-con-parmetros-xml-y-nombres-de-clas...
0 712 posted 13 years ago by alberomo
Descripción: Valida los campos de fechas enviados por la función validaForm-->http://snipplr.com/view/58245/funcin-validaform-para-validar-formularios-con-parmetros-xml-y-nombres-de-clase/. En el caso de que no sea validado, llama a la función err...
0 642 posted 13 years ago by alberomo
usage: <?php>
1 872 posted 13 years ago by fackz
When modifying file permissions it is sometimes necessary to go back to the drawing board and set back to the default permissions. The following command can be used via ssh and takes a couple seconds vs trying to do this via ftp file by file (which c...
0 695 posted 13 years ago by klovera
Code obtained from a [stackoverflow question](http://stackoverflow.com/questions/4672279/bresenham-algorithm-in-javascript). This is a javascript implementation of the [Bresenham line algorithm](http://en.wikipedia.org/wiki/Bresenham's_line_algorithm...
0 1128 posted 13 years ago by nefd
0 688 posted 13 years ago by dato
0 666 posted 13 years ago by anaplusx
used this to download a bunch of wsdls. Put all addresses in a file and execute the script like groovy download.groovy file.txt
0 2276 posted 13 years ago by m3rol666
Find how many factors there is in N! for a prime P Ex: 5! = (2^3)*(3^1)*(5^1) mult(5,2) = 3 mult(5,3) = 1 mult(5,5) = 1 all else = 0
0 697 posted 13 years ago by FMalk
Redirect from the root of the site to another URL.
0 801 posted 13 years ago by ToddSmithSalter
1 ... 118 119 120 121 122 ... 554