Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Open your function.php of your active Theme.
Copy your code insert and call the new Site URL.
After delete the code snippet.
0
3003
posted 13 years ago by WMSchneider
This extension allows Magento based store owners to give their visitors an advance feature of creating gift registry for their upcoming wedding, engagement or birthday party. The registry creator can share the link of the wish-list on its social netw...
0
1887
posted 13 years ago by simonwalker
This extension has been developed by Fme for Magento store owners. This extension enables store owners to post FAQ in separate page as well as under each product page. The customers can post questions, rate, like or comment on existing questions. The...
0
2202
posted 13 years ago by simonwalker
I came across a permission issue when using the standard Directory.Exists() method, so I came up with another way to check if a Directory exists avoiding those permission issues. This works very well. It can be converted to C'#.
0
5168
posted 13 years ago by nimblebits
Change the generic class to whatever class you wish. JSON arrays, types etc, are not handled, you should do that. Purpose of this snippet is to deserialize only needed JSON keys with respect to the class members of your class.
0
3543
posted 13 years ago by mindinmotionmkd
This snippet will produce an alpha-numeric 16 character password
1
1806
posted 13 years ago by mralexjuarez
This function can be used to check if a file exists using the HTTP header response. Example use, when looping through cached JSON objects (instagram API, etc.)
0
3171
posted 13 years ago by rickygri
jQuery Validate is used in ASP.Net MVC 4. As it is checking only en-US as a default you may have problems with different cultures for decimal inputs and dates (I had to try for minutes to find a accepted date format. I don't want to see how my custom...
0
2070
posted 13 years ago by SnipplrSlush
This snippet is used to set some wordpress directories / paths directly to the server name.
0
2031
posted 13 years ago by mralexjuarez
поиÑк Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð² многомерном маÑÑиве
0
1379
posted 13 years ago by noganno
Example to change the selected item in a ComboBox, in code behind. For VB.Net
0
2307
posted 13 years ago by keidash
This meta tag in the head with proper configuration shows the appstore app equivalent of the website.
When the user is visits the website and it has a App in the appstore, then a small preview is shown on the top by iOS saying the app is availabl...
0
2723
posted 13 years ago by carbonr
This will create a table, create an update trigger to add current datetime to modify_date field, do 2 inserts, 1 update and display the results.
0
1825
posted 13 years ago by kidmizere
I want to extract the numbers from a string that contains numbers and letters like
0
3591
posted 13 years ago by satie83
This is a custom field handler for a Drupal view. Sometimes you have two or more fields in a content type and you want to do a test on them to see if both are empty or both full or exclusive and return that as a field.
There are probably ways to d...
0
1857
posted 13 years ago by brownrl
This handy tool takes raw CSS and finds all relative URLs for background images and injects the absolute path. After which all the background images are displayed on the page. This is useful if you need a quick way to save all background images at on...
0
2022
posted 13 years ago by pussard
From a local computer to a server with a public/private key pair.
0
1907
posted 13 years ago by adamokruhlicaeu
The CSS calc() function can be used anywhere a length, frequency, angle, time, number, or integer is required. It can be used to apply values for width/height; font-size; margins; padding; borders; shadows; border radius; text-indent;top/right/bottom...
0
2149
posted 13 years ago by COBOLdinosaur