Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Der folgende Codeschnipsel enthält keinerlei Überprüfungen der übergebenen Parameter, diese sollten für den produktiven Einsatz noch nachgepflegt werden.
Wie man sieht, ist die Berechnung von Wochendenden und Feiertagen recht einfach. Diese Ber...
1
793
posted 10 years ago by satie83
This can load live map JSON data from Expression Engine Database Locations Entry.
0
796
posted 10 years ago by darith
Lets say you have a table with field called "tags" that consists from tags separated by commas and you want to check whether it includes a required tag. Here the simplest ways of doing that.
0
761
posted 10 years ago by apphp-snippets
I wanted to create a borderless window, but still be able to move it. I thought it would be complicated, but just like a lot of things with WPF, things were simpler than I thought...
0
604
posted 10 years ago by wraith808
A simple utility class that will help you convert a color value (from numbers) to hexadecimal color value.
0
917
posted 10 years ago by vamapaull
$(document).ready(function() {
var maxHeight = -1;
$('.features').each(function() {
maxHeight = maxHeight > $(this).height() ? maxHeight : $(this).height();
});
$('.features').each(function() {
$(this).height(maxHeight...
1
706
posted 10 years ago by thesmu
More info: http://stackoverflow.com/questions/10908562/is-there-something-similar-to-window-load-for-executing-a-function-after
0
826
posted 10 years ago by rickygri
* A standard multi-level list example for copy and paste in any site. Uses anchors as the default links, to be filled in later.
* Built to work with Bootstrap's default CSS, but also works fine with other CSS
* Pull the "plain" class from the [sta...
0
724
posted 10 years ago by tymartist
* A set of starter styles that can be added to any library
* The most-used styles I add to all of my sites
0
659
posted 10 years ago by tymartist
* Used to create markers based solely on latitude and longitude
* Replace the existing mainPoints() function in map-functions.js
0
709
posted 10 years ago by tymartist
* Use this to start any Desktop or Responsive sites
* Assets always live in the /prebuilt/ folder
0
839
posted 10 years ago by tymartist
DS_Store files are automatically created by Mac OSX Finder in browsed directories. These files contain information about system configuration. If you upload them along with other files, the files can be misused to obtain information about your comput...
0
634
posted 10 years ago by Haerviu
*Example:*
if (!isRewriteMod()) exit('Please install Apache mod_rewrite module.');
0
697
posted 10 years ago by phpdev
This script show/hide the hidden files and folders in your Mac OS X. It works in OS X 10.8 Mountain Lion, but I think it should work in 10.6 and 10.7, too.
0
896
posted 10 years ago by cappellin
Free PHP tools with code snippets for Magento;
1. Banners
2. New Products Slider
3. Request for code
4. Product solds
5. Quick contact
0
724
posted 10 years ago by robocarlo
This snippet is a basic slide with a header and a paragraph
0
642
posted 10 years ago by mralexjuarez
Lists only certain files extensions as links on a page from a defined folder
1
1425
posted 10 years ago by kidmizere
This shop by brand plugin allows Magento merchants to create a separate page where all brands are listed in alphabetical order with an attractive slider on top of the page. Upon clicking on brand it takes users to the individual brand landing page wh...
0
644
posted 10 years ago by simonwalker
Magento Google maps extension allows visitors to track the nearest physical store and get the directions online. It is a useful extension for e-merchants having multiple stores on different locations.
The customers can also search for the store by t...
0
730
posted 10 years ago by simonwalker
$(document).ready(function() {
// Handler for .ready() called.
});
0
840
posted 10 years ago by thesmu