Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 190 191 192 193 194 ... 553
this centers an image of unknown size vertically and horizontally within a box
1 1759 posted 14 years ago by alp
A RestClient class for calling webservice using both, get and post methods, and getting the response dropped into an String.
0 1122 posted 14 years ago by luixal
div structure <body> <div> <div> <div> Content of the page </div> </div> </div> </body>
0 2608 posted 14 years ago by mlangfeld
0 1502 posted 14 years ago by tcelestino
I use this little guy to get the width and height from a filename. Often when I need to show a flash swf file I don't have an easy way to tell the width and the height of the file for display. However is the file name is "some_flash_file 300x250.swf"...
0 2836 posted 14 years ago by brownrl
0 895 posted 14 years ago by darfix
This function will keep an image that is larger than the stage dragging within the stage view, stopping at any edge of the image.
0 1200 posted 14 years ago by CammoKing
This SQL takes the redirects from Drupal 5.5 tables and converts them into a format the WordPress plugin Redirection can understand.
0 1205 posted 14 years ago by ethicka
This function uses the preg_replace counter to check for any non-alphanumeric characters. You can use this for username / password validation if you don't want any special characters to be used.
1 1201 posted 14 years ago by robertdotim
This command will tell you the date of Installation of your Windows System. The result will look like this: *InstallDate = 11:48:12 28.06.2010*
0 3570 posted 14 years ago by bits
(Grabs all info that matches both tables)
0 1026 posted 14 years ago by staley412
2 1176 posted 14 years ago by alexmargineanu
The IFramed Like Box widget that Facebook supplies automatically puts on a recessed border which seemingly cannot be removed by the usual 'border=0' or 'border:none'. This is not noticeable on the 'light' version but definitely on the 'dark' version....
0 1383 posted 14 years ago by MonioDesign
These are some date functions. Get Current Week Start Date Get Current Week End Date Get Current Month Start Get Current Month End Get Current Year Start Get Current Year End and these functions can help you getting last week's start date...
0 1187 posted 14 years ago by aamirrajpoot
0 1185 posted 14 years ago by scholli
Though an old post, this is my solution that's been pieced together from various comments on the article linked above.
1 2110 posted 14 years ago by beneberle
0 1113 posted 14 years ago by r2cgroup
0 1277 posted 14 years ago by r2cgroup
0 1013 posted 14 years ago by r2cgroup
0 1296 posted 14 years ago by r2cgroup
I use this every time I start a fresh, blank page. This way I can guarantee consistency across all my pages (and it reminds me to put in all the appropriate meta tags that are often forgotten).
0 1245 posted 14 years ago by r2cgroup
0 1290 posted 14 years ago by r2cgroup
0 1225 posted 14 years ago by r2cgroup
0 1280 posted 14 years ago by r2cgroup
1 ... 190 191 192 193 194 ... 553