Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This technical tip shows how developers can convert email messages to other formats like EML, MSG & MHT in cloud using ruby language.
0
3660
posted 11 years ago by johansonkatherine
How to submit a form asynchronously and get result in JSON
0
2399
posted 11 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
3143
posted 11 years ago by dragoviandesign
Allows for EXIT function on mobile device via mobile device BACK key button.
0
3544
posted 11 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
1317
posted 11 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
1366
posted 11 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
1245
posted 11 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
2448
posted 11 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
1603
posted 11 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
3443
posted 11 years ago by supupoff
Prevent users submitting contact form if less than 2 words are entered (JavaScript)
0
1310
posted 11 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
3760
posted 11 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
1301
posted 11 years ago by buda9
Example of JAXB-annotated POGO, marshalled and unmarshalled via static methods of JAXB object.
0
3928
posted 11 years ago by alces
Zip all files in a directory files into separate archives
0
3712
posted 11 years ago by flatearthcomms
Write a code that will find the sum of any pairs of numbers
0
3328
posted 11 years ago by rikesh_kisnah
Nice script for formatting dates in a batch file without having the system locale settings impact your format
0
3641
posted 11 years ago by kidmizere
Now make a request to page.html?x=Hello:
console.log(getQueryVariable('x'));
0
1374
posted 11 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
2516
posted 11 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
3414
posted 11 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
2851
posted 11 years ago by johansonkatherine
Very simple use of an non-animating spritesheet for iOS
0
3575
posted 11 years ago by sidneydekoning
A pretty simple example, that always replies 'Hello World!!' to the browser. The raw ROUTER socket is listening on tcp port 8080, so any browser that sends a request on port 8080 of localhost, will get back the response. The internal NanoMsg communic...
0
1437
posted 11 years ago by my-classes