Welcome To Snipplr


Everyone's Recent Snippets



1 ... 67 68 69 70 71 ... 567
Input: Month and year number Output: Last day of month
0 289 posted 9 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 518 posted 9 years ago by Maximus1983
obviously one can access HTML5's data attribute super easy in jQuery
0 410 posted 9 years ago by iroybot
Tests whether the script has been invoked with the correct number of parameters.
0 277 posted 9 years ago by triffel
Conforming XHTML 1.0 Strict Template - The Web Standards Project
1 474 posted 9 years ago by thesmu
Conforming XHTML 1.0 Transitional Template - The Web Standards Project
1 425 posted 9 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 391 posted 9 years ago by tinytiger
Function to get wordpress post/page slug to be used on for custom class etc
0 413 posted 9 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 350 posted 9 years ago by ptlrikin
Full Background Image in CSS
1 427 posted 9 years ago by gnitter
Show html on homepage and different html on other pages
0 381 posted 9 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 338 posted 9 years ago by fenixkim
Created by Quirol to avoid TOTAL errors
0 285 posted 9 years ago by mrtonix
- Mage 1.7* flag storeswitcher - images/flags/flag_[storeview_name].png
0 269 posted 9 years ago by WGenie
Used to automatically give feedback on email address validity.
0 370 posted 9 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 290 posted 9 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 299 posted 9 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 292 posted 9 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 255 posted 9 years ago by timsommer
Just an error log from TelecinePlay. Please.. don't share error logs in public..
0 412 posted 9 years ago by novazoo
0 317 posted 9 years ago by cphoover
0 351 posted 9 years ago by cphoover
1 325 posted 9 years ago by cphoover
1 ... 67 68 69 70 71 ... 567