Welcome To Snipplr


Everyone's Recent Snippets



1 ... 66 67 68 69 70 ... 554
A sample code to show the scrolling, panning and zooming with UIScrollView
1 1332 posted 12 years ago by zopebie
This javascript function takes the URL of the target page and an associative array of name/values paires and POSTs the data to the supplied URL by dynamically creating a form and then submitting it.
0 2780 posted 12 years ago by rickygri
Input: Month and year number Output: Last day of month
0 697 posted 12 years ago by sjmoorecouk
Use this Gem to programmatically take screenshots of websites with this completely open source and free library. We have also provided easy to follow online tutorials and sample applications to help you set up GrabzIt as quickly as possible. First...
1 1185 posted 12 years ago by Maximus1983
obviously one can access HTML5's data attribute super easy in jQuery
0 966 posted 12 years ago by iroybot
Tests whether the script has been invoked with the correct number of parameters.
0 689 posted 12 years ago by triffel
Conforming XHTML 1.0 Strict Template - The Web Standards Project
1 1110 posted 12 years ago by thesmu
Conforming XHTML 1.0 Transitional Template - The Web Standards Project
1 1036 posted 12 years ago by thesmu
This function returns the trimmed bounding box of a bitmap which contains all non-transparent pixel which color values are higher than the specified treshold (default 0xFF333333 in ARGB notation).
0 995 posted 12 years ago by tinytiger
Function to get wordpress post/page slug to be used on for custom class etc
0 971 posted 12 years ago by Farhan
The following javascript allows your to embed a video as a overlay on any HTML page. The script needs to be added in the head or external file, and the div tag needs to be placed on the page where you want the video image to show up. Another optio...
0 882 posted 12 years ago by ptlrikin
Full Background Image in CSS
1 999 posted 12 years ago by gnitter
Show html on homepage and different html on other pages
0 887 posted 12 years ago by morktron
Algunas veces se quiere comprobar si un numero esta entre un rango de otro número menor y otro mayor.
0 819 posted 12 years ago by fenixkim
Created by Quirol to avoid TOTAL errors
0 716 posted 12 years ago by mrtonix
- Mage 1.7* flag storeswitcher - images/flags/flag_[storeview_name].png
0 646 posted 12 years ago by WGenie
Used to automatically give feedback on email address validity.
0 910 posted 12 years ago by boondoklife
Create variable named PHP variables. Having dynamically named variables can be helpful when dealing with loops and arrays. For example instead of having seven if () statements for handling seven individual days of the week, you could reduce it to one...
0 666 posted 12 years ago by dialeleven
In this section we're going to explore the decorator - a structural design pattern that promotes code reuse and is a flexible alternative to subclassing. This pattern is also useful for modifying existing systems where you may wish to add additional...
0 723 posted 12 years ago by timsommer
The Factory Pattern suggests defining an interface for creating an object where you allow the subclasses to decide which class to instantiate. This pattern handles the problem by defining a completely separate method for the creation of objects and w...
2 717 posted 12 years ago by timsommer
When we put up a facade, we present an outward appearance to the world which may conceal a very different reality. This was the inspiration for the name behind the facade pattern. The facade pattern provides a convenient higher-level interface to a l...
0 636 posted 12 years ago by timsommer
Just an error log from TelecinePlay. Please.. don't share error logs in public..
0 981 posted 12 years ago by novazoo
0 797 posted 12 years ago by cphoover
0 858 posted 12 years ago by cphoover
0 900 posted 12 years ago by cphoover
1 ... 66 67 68 69 70 ... 554