Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Makes same-page links scroll smoothly instead of jumping around the page.
2
1295
posted 15 years ago by zachdunn
Un objeto QMenu tiene siempre un objeto QAction, aunque no lo hayas creado tú. Por esta razón si queremos ocultar un QMenu vacÃo no nos sirve llamar al método setHidden (o a setVisible) como normalmente harÃas.
0
983
posted 15 years ago by Bloomy
To style the text in a TextArea component, create a TextFormat object and pass it to the TextArea's setStyle method.
0
1916
posted 15 years ago by adrianparr
Using a sorted list remove all the lines in file2 from file1
0
977
posted 15 years ago by benpjohnson
This is the most updated version of my os x php compile script
0
1273
posted 15 years ago by iloveitaly
converts date/time that sharepoint kicks out to m/d/y format.
0
1336
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
1512
posted 15 years ago by adrianparr
http://glennberrysqlperformance.spaces.live.com/blog/cns!45041418ECCAA960!2991.entry
1
958
posted 15 years ago by tvanzele
courtesy of mark8barnes (http://wordpress.org/support/profile/52354)
1
1584
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
1107
posted 15 years ago by hitsthings
This function returns True if the specified form is open in form view or datasheet view.
0
1152
posted 15 years ago by CaptainProton
integration of an image/title/description into a snippet using WindowsOnWeb
0
906
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
1573
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
1533
posted 15 years ago by leonelsantos