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 1771 posted 11 years ago by rtperson
Dummy content to format typographic/html tags for Wordpress copy.
0 732 posted 11 years ago by seejaeger
Logs offline application cache states. Swaps cache if updated version is available.
0 670 posted 11 years ago by zfisic
Basic information on JavaScript from CodeAcademy.com's JavaScript track
0 782 posted 11 years ago by denakitan
Snippet to show how works optparse module to add optoins when it is called by command line
0 880 posted 11 years ago by ssoton
Clear text input when the user selects it (on focus)
0 847 posted 11 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 1031 posted 11 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 939 posted 11 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 907 posted 11 years ago by MohamedAlaa
This is a Class that allows you create a letter with correct headers and send it to multi-emails.
0 900 posted 11 years ago by Zayac
out put a field with multiple values as a list fro styling purposes useing child selectors
0 867 posted 11 years ago by mktimes5
This portion of code allows to do bandpass filtering over time series
0 625 posted 11 years ago by leonpalafox
Snippet showing a simple Flask application to illustrate the topics covered in the "Quickstart".
0 912 posted 11 years ago by denakitan
This is a script for a validating Email.
0 795 posted 11 years ago by laxman2021
From css-tricks.com
1 954 posted 12 years ago by Gianino
iOS Meta-Tag um das skalieren des Contents zu sperren!
0 753 posted 12 years ago by dejot
pass variables from iOS app to web site (synchrone version)
0 1123 posted 12 years ago by code4mac
snippet to show appindicator problem
0 754 posted 12 years ago by ssoton
For those moments of weakness when .replace() looks like a good idea...
0 997 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 920 posted 12 years ago by halk
/** * 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 974 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 1063 posted 12 years ago by tinytiger
CSS code to add a CSS3 box shadow to the bottom of an element only.
0 875 posted 12 years ago by Huskie
pass a variable from web site (in php, in this case) to iOS app.
0 1130 posted 12 years ago by code4mac
mi comment
0 772 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 1411 posted 12 years ago by rickygri
A python static class that handles simple thread management.
0 781 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 1004 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 745 posted 12 years ago by dilios
1 ... 53 54 55 56 57 ... 554