Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
To style the text in a TextArea component, create a TextFormat object and pass it to the TextArea's setStyle method.
0
1944
posted 15 years ago by adrianparr
Using a sorted list remove all the lines in file2 from file1
0
996
posted 15 years ago by benpjohnson
This is the most updated version of my os x php compile script
0
1289
posted 15 years ago by iloveitaly
converts date/time that sharepoint kicks out to m/d/y format.
0
1349
posted 15 years ago by rumremix
This code removes all the spaces and then inserts a single space so that the there are only 3 characters on the right-hand side (the inward code).
0
1545
posted 15 years ago by adrianparr
http://glennberrysqlperformance.spaces.live.com/blog/cns!45041418ECCAA960!2991.entry
1
972
posted 15 years ago by tvanzele
courtesy of mark8barnes (http://wordpress.org/support/profile/52354)
1
1606
posted 15 years ago by iroybot
Using GCheckout.dll
Join("") is an IEnumerable<string> extension I wrote (to concatenate strings with a separator)
Base64Decode() is a string extension I wrote (decode base64)
Configuration.Google[Test]Merchant{Id|Key} are just some static var...
0
1121
posted 15 years ago by hitsthings
This function returns True if the specified form is open in form view or datasheet view.
0
1172
posted 15 years ago by CaptainProton
integration of an image/title/description into a snippet using WindowsOnWeb
0
920
posted 15 years ago by windowsonweb
This returns a string with a single space after the fifth character.
Useful for displaying a UK mobile number which is easy to read.
0
1609
posted 15 years ago by adrianparr
A class for uploading images and creating thumbnails.
Example:
try{
$img = new img('photo');
if($_FILES['photo']['size']>=1000000){
exit('The file size of the file you are trying to upload is over limit.
Your file size = '.$_F...
2
1561
posted 15 years ago by leonelsantos