Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Changes link destination of 'Continue Shopping' button on cart page
0
867
posted 10 years ago by daprela
This technical tip shows how developers can convert email messages to other formats like EML, MSG & MHT in cloud using ruby language.
0
1213
posted 10 years ago by johansonkatherine
How to submit a form asynchronously and get result in JSON
0
912
posted 10 years ago by DennisvanderStelt
This snippets converts a file called 'test.mp3' in the same folder, to a file called 'test.ogg' and saves it in the same folder as well
0
1639
posted 10 years ago by dragoviandesign
Allows for EXIT function on mobile device via mobile device BACK key button.
0
1069
posted 10 years ago by RiveraEraGames
StringBuilder class is a much better way to concatenate strings. Unlike a string object it can be changed as needed, and is much more efficient than using +=
0
785
posted 10 years ago by zeke
The code is meant to find out electrical dc power using formulas p=vi, P=v<sup>2</sup>/R, and P=i<sup>2</sup>*R.
0
835
posted 10 years ago by KhanOf21Century
ClickDesk's website chat JavaScript API is very basic, it only allows for a few customisations, but no event control. And with a last of whitelist/blacklist URL restriction functionality on a large site their code is often in the template. I created...
0
797
posted 10 years ago by mountainash
Code is meant to show the real ip address, in case if user is using a proxy. Most of the time $_SERVER["REMOTE_ADDR"] do not work correctly due to the proxy setting of user. It's a nice solution.
0
935
posted 10 years ago by KhanOf21Century
This script will grab the YouTube video ID using regex so that many different types of YouTube urls. This will also output the id and thumbnail to view.
0
1077
posted 10 years ago by astralis
use This Class to conenct to any database mysql oracle access and postgresql and use functions to select update insert or update data from database
--
0
1062
posted 10 years ago by supupoff
Prevent users submitting contact form if less than 2 words are entered (JavaScript)
0
859
posted 10 years ago by buda9
This technical tip shows how to load any existing email message and modify its contents before saving it back to disk using Aspose.Email for Android API. To do this successfully, specify the MessageFormat when loading the email message from disk. In...
0
1243
posted 10 years ago by johansonkatherine
As you can see you need to add backslash and apostrophe => \' to font family with space between. If there isn't spaces in font name just use double apostrophes, e.g. "Lucida Grande"
0
815
posted 10 years ago by buda9
Example of JAXB-annotated POGO, marshalled and unmarshalled via static methods of JAXB object.
0
1326
posted 10 years ago by alces
Zip all files in a directory files into separate archives
0
1151
posted 10 years ago by flatearthcomms
Write a code that will find the sum of any pairs of numbers
0
970
posted 10 years ago by rikesh_kisnah
Nice script for formatting dates in a batch file without having the system locale settings impact your format
0
1148
posted 10 years ago by kidmizere
Now make a request to page.html?x=Hello:
console.log(getQueryVariable('x'));
0
891
posted 10 years ago by buda9
I created this code for practice, and I looking for better and clear solution for the last instance where I can write or delete the data, but after I want to get back the content as array or the key as string. I want to use this write-read back with...
0
959
posted 10 years ago by gitarfogas
The following code sample shows how developers can replace multiple texts in a single API call in a PDF file using Aspose.Pdf for Cloud API in their applications. Developers can use Aspose REST API with any language: .NET, Java, PHP, Ruby, Rails, Pyt...
0
1754
posted 10 years ago by johansonkatherine
The following code sample shows how developers can replace multiple texts in a single API call in a PDF file using Aspose.Pdf for Cloud API in their applications. Developers can use Aspose REST API with any language: .NET, Java, PHP, Ruby, Rails, Pyt...
0
1276
posted 10 years ago by johansonkatherine
Very simple use of an non-animating spritesheet for iOS
0
1007
posted 10 years ago by sidneydekoning