Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 463 464 465 466 467 ... 553
Example: `var result = "Hello {0}! This is {1}.".format("world","foo bar");` Returns: `"Hello World! This is foo bar."`
2 2433 posted 17 years ago by jasonseney
To use the resize function you must pass in the forced width, forced height, source image, and destination image. The function then uses the GD2 library functions to read the source image's size. It will then calculate the new image's size based off...
3 3439 posted 17 years ago by Jenhale
0 1637 posted 17 years ago by sebus
A simple countDown class in Javascript:
1 1835 posted 17 years ago by gfazioli
The bugged version: Somehow, it prints random characters to me like [] except the spaces filled in and other accented letters when I input more parenthesis and longer input. How to use: example-> input: 3 1+2 (1+2)*(6-2) 6-7*(9*10)/8 ou...
0 1476 posted 17 years ago by Mcgee_00
CSS Rounded Corners without images support: Firfox 2-3, Safari, Chrome, Opera 9.5(use svg)
8 2501 posted 17 years ago by Ashung
0 1019 posted 17 years ago by tiw
2 1875 posted 17 years ago by pmd
Here's how to copy 2 directories and strip the .svn and .cvs nonsense, basically an export function, but locally
1 1775 posted 17 years ago by vanne
0 1465 posted 17 years ago by tiw
0 2003 posted 17 years ago by conspirator
0 2117 posted 17 years ago by conspirator
Hibernate xml configuration file "hibernate.cfg.xml".
1 3034 posted 17 years ago by Uzbekjon
0 1465 posted 17 years ago by trey
5 1856 posted 17 years ago by trey
These functions allow you to easily set a handler for a virtual mouseleave/enter event. This requires my [MouseBoundaryCrossing](http://snipplr.com/view/8206/crossbrowser-mouseenterleave-solution/) class.
1 1765 posted 17 years ago by wizard04
0 861 posted 17 years ago by malux
The right way to send a mail with POST params
2 1931 posted 17 years ago by gfazioli
1 1824 posted 17 years ago by conspirator
This is saved from Gerhard Slettens weblog www.gersh.no. I just want yo keep it on snipplr so it easily can be fetched through textmate.
15 8872 posted 17 years ago by stavelin
0 3766 posted 17 years ago by brcha
This snippet creates a basic input and label combo for an html form. Has tab stops at relevant places for adding for, id and name attritbutes
2 1877 posted 17 years ago by superdeluxesam
1 ... 463 464 465 466 467 ... 553