Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 188 189 190 191 192 ... 554
0 886 posted 14 years ago by konkas
Normal replace() function only replaces first instance.
1 1547 posted 14 years ago by rumremix
credit: http://www.west-wind.com/weblog/posts/519980.aspx
1 1176 posted 14 years ago by crypticsoft
Different formats for listing states.
0 1295 posted 14 years ago by MikeNGarrett
0 815 posted 14 years ago by markbenfield
0 1202 posted 14 years ago by jorisros
See here for Amazon EC2 range https://forums.aws.amazon.com/ann.jspa?annID=877
0 1367 posted 14 years ago by daipratt
add this line: Cufon.replace('a', { hover: true }); before your actual cufon replace.
2 971 posted 14 years ago by Savio
If user enters city.php from footer.php, page will return certain string. If user enters independently, solution lets user see predefined string (in this case, 'your city').
0 1691 posted 14 years ago by stephcode
Key for code below: querystring = just the query string. (e.g. url=page) index = the page that the query string is appended to (e.g. index.php) domain.com = the domain and page you want to rewrite to
0 1170 posted 14 years ago by nielsenrc
Updated code (December, 2012) to get a tweet from a user's twitter timeline using JSON and jQuery
3 1705 posted 14 years ago by eddequincey
Found that the webmonkey tutorial code didn't work as double quotes were used around JSON string.
0 980 posted 14 years ago by eddequincey
0 889 posted 14 years ago by rc2789
Stolen from stetho -- All thanks to him -- Now, about your folder actions… http://bit.ly/fW9ExM
0 1400 posted 14 years ago by brandonjp
Stolen from stetho -- All thanks to AppleScript to convert CMYK to RGB values http://bit.ly/eP2mXS
0 1470 posted 14 years ago by brandonjp
0 1086 posted 14 years ago by shodan_uk
0 1192 posted 14 years ago by shodan_uk
When using Joomla, allows you to redirect index.php to the root ( to prevent duplicate content ), without affecting the Joomla admin.
0 1063 posted 14 years ago by batfan
Use this to enhance non firefox browsers to support the sendAsBinary method.
1 880 posted 14 years ago by theshoveller
found this somewhere online...not the author, but works like a charm
0 1327 posted 14 years ago by sadus
Enjoy.
2 1032 posted 14 years ago by chrisjlee
Cross domain issues occur when trying to read files such as .xml files of one domain in an other domain (two different websites, ie different IP:Port)
0 955 posted 14 years ago by vriesdewie
This class can log messages to a file. If the log file becomes too large (over 1MB), the class will archive it and will create new. If there are archives older than one month, they will be deleted automatically. In the future versions I will add th...
0 1408 posted 14 years ago by stz184
1 ... 188 189 190 191 192 ... 554