Welcome To Snipplr


Everyone's Recent Snippets



1 ... 31 32 33 34 35 ... 554
Calculates the time in hh:mm:ss between two dates Usage: var past = new Date('1/1/2013'); var now = new Date(); var lapsed = past.lapsed(now);
0 1032 posted 11 years ago by camdagr8
Function enables the reading of url appended variables. See URL for more information.
0 1180 posted 11 years ago by gromitski
Compact Privacy Policy allowing cookies to be used in an iframe without being blocked by the host website. See link for further details.
0 1009 posted 11 years ago by gromitski
Simple PHP Backdoor Shell // http://www.example.com/shell.php?cmd=dir
0 2854 posted 11 years ago by shopsplash
Truncates the given string at the specified length.
1 1139 posted 11 years ago by JoshChris
Groovy script for hudson's scripler/script console (for latter case import line could be removed) aborting running builds with loo large logs.
0 1248 posted 11 years ago by alces
enqueue a block at a certain time
0 1497 posted 11 years ago by yannxou
This is way to get different fg and bg colors inside 1 string. You provide escape like characters to define colors. This is a fg of #rRed #xand now we're back to normal. This is a bg of $bBlue#x and now we're back to normal. I can combine fg & b...
0 1310 posted 11 years ago by Rick
Uses the object prototype to extend data. Instantiate as an object and use as specified below (bottom of the code)
0 1093 posted 11 years ago by rickygri
Convierte un campo de una tabla a llave foránea
0 1178 posted 11 years ago by ironcrema
Having a handle for groups of options allows script driven dynamic effects to manage changes of presentation with in the select without having to refresh or use other inefficient methods of updating the display.
0 1295 posted 11 years ago by COBOLdinosaur
behavior for validating numeric input
0 982 posted 11 years ago by dck11
Convert a listing to quote protected CSV
0 996 posted 11 years ago by johngh
Extrae subcadena de cadena separado por caracter
0 910 posted 11 years ago by ironcrema
0 955 posted 11 years ago by santamartastudio
Sublime Text
0 1003 posted 11 years ago by greencocoa
Sublime Text
0 1064 posted 11 years ago by greencocoa
Sublime Text
0 1026 posted 11 years ago by greencocoa
Sublime Text
0 1092 posted 11 years ago by greencocoa
Sublime Text
0 1063 posted 11 years ago by greencocoa
Sublime Text
0 1027 posted 11 years ago by greencocoa
Bare outline for a PHPUnit test case
0 829 posted 11 years ago by steroidmonkey
Avoid history back when is pressed backspace key in number imput
0 982 posted 11 years ago by porquero
Test
0 1248 posted 11 years ago by amiranda
shows list of cpt for example on archive page when wpml is installed. if particular post has no translation, it shows it in default language
0 1061 posted 11 years ago by kkarpieszuk
Source creating a new database (and inserting some records)
0 1359 posted 11 years ago by ktrout
simple ftp download example
0 1158 posted 11 years ago by ktrout
Used parts of this in resetting my torrent upload information after losing if (was experimenting with switching to a new torrent-client). Only works on transmission-gtk torrent files [i think]
0 957 posted 11 years ago by ktrout
Stores country name code and capital in an array and returns it. (not completed)
0 993 posted 11 years ago by bluesh34
1 ... 31 32 33 34 35 ... 554