Welcome To Snipplr


Everyone's Recent Snippets



1 ... 53 54 55 56 57 ... 554
Really DP-lite. Memoize the solution for a recursive problem so it can be looked up on subsequent iterations.
0 1938 posted 12 years ago by rtperson
Dummy content to format typographic/html tags for Wordpress copy.
0 821 posted 12 years ago by seejaeger
Logs offline application cache states. Swaps cache if updated version is available.
0 785 posted 12 years ago by zfisic
Basic information on JavaScript from CodeAcademy.com's JavaScript track
0 902 posted 12 years ago by denakitan
Snippet to show how works optparse module to add optoins when it is called by command line
0 1037 posted 12 years ago by ssoton
Clear text input when the user selects it (on focus)
0 943 posted 12 years ago by rickygri
This is a method that can be used to take a connection string and a valid oledb command and perform a scalar. This returns an Integer/Int32 value.
0 1149 posted 12 years ago by nimblebits
JavaScript is the only option, if you want to have the ability to clear all form fields. Yes, HTML form has Reset method, but if the form has initial values, then Reset will return the form to the initial state instead of clear input fields. This exa...
1 1056 posted 12 years ago by laxman2021
CSS3 Ajax Loading Animation ======== This is a simulation for the popular gif animated images. The reason why i choose to do it in css3 is the flexibility of re-using it in different sizes, different colors and the transparency issues in gif anim...
1 1027 posted 12 years ago by MohamedAlaa
This is a Class that allows you create a letter with correct headers and send it to multi-emails.
0 1002 posted 12 years ago by Zayac
out put a field with multiple values as a list fro styling purposes useing child selectors
0 984 posted 12 years ago by mktimes5
This portion of code allows to do bandpass filtering over time series
0 733 posted 12 years ago by leonpalafox
Snippet showing a simple Flask application to illustrate the topics covered in the "Quickstart".
0 1033 posted 12 years ago by denakitan
This is a script for a validating Email.
0 922 posted 12 years ago by laxman2021
From css-tricks.com
1 1071 posted 12 years ago by Gianino
iOS Meta-Tag um das skalieren des Contents zu sperren!
0 873 posted 12 years ago by dejot
pass variables from iOS app to web site (synchrone version)
0 1299 posted 12 years ago by code4mac
snippet to show appindicator problem
0 895 posted 12 years ago by ssoton
For those moments of weakness when .replace() looks like a good idea...
0 1113 posted 12 years ago by inreflection7
This is a static session wrapper that handles single variables and arrays. It allows setting, resetting, and deleting session variables (without destroying the session). It regenerates the session id every time a session is started to prevent sessi...
0 1065 posted 12 years ago by halk
0 1124 posted 12 years ago by mrmoneyc
/** * THIS FUNCTION WILL RENDER A CONTAINER OR SELF-CLOSING HTML ELEMENT. * IT AUTO DETECTS WHAT TYPE YOU WANT * BASED ON RATHER OR NOT YOU SET A _data KEY IN THE ARRAY OF * ATTRIBUTES PASSED TO THE FUNCTION * * USING AN ASSOCIATIVE ARRA...
0 1079 posted 12 years ago by halk
Using sed to recursively remove malicious code injection form .php files when the injected code follows the pattern <?php>
0 1196 posted 12 years ago by tinytiger
CSS code to add a CSS3 box shadow to the bottom of an element only.
0 999 posted 12 years ago by Huskie
pass a variable from web site (in php, in this case) to iOS app.
0 1292 posted 12 years ago by code4mac
mi comment
0 887 posted 12 years ago by darvein
CSS stylesheet template - including HTML5 reset, tweaks for mobile including media queries, print reset styles, and base styles for standardization
7 1554 posted 12 years ago by rickygri
A python static class that handles simple thread management.
0 903 posted 12 years ago by ytech
https://gist.github.com/4098493 (examples of use below the class code) This class allows you to load a file of snippets that are really mini-templates copy them from your repository fill the token slots in them the with your data and render them as...
0 1139 posted 12 years ago by halk
Sends the user to a different Drupal page. This issues an on-site HTTP redirect. The function makes sure the redirected URL is formatted correctly.
0 865 posted 12 years ago by dilios
1 ... 53 54 55 56 57 ... 554