Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 202 203 204 205 206 ... 552
Turn a string LikeThis into like_this
1 1688 posted 15 years ago by jarnaldich
0 1863 posted 15 years ago by neoandroid
0 1766 posted 15 years ago by neoandroid
Can add columns to a table checking before if there
0 2190 posted 15 years ago by jatubio
see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/statements.html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2#for..in for details
1 2751 posted 15 years ago by martin9999uk
This script can be used to install the PECL upload progress PHP extension. You'll know this extension from the Drupal status report page which encourages you to install it.
1 2096 posted 15 years ago by daipratt
0 1542 posted 15 years ago by Sullan
0 1476 posted 15 years ago by slcwebapps
0 2104 posted 15 years ago by dropthenerd
This is based on http://www.snipplr.com/view/46082/as3-html-color-keywords-colorname-class/ I found that link really useful, but it's more complex than I needed. I just wanted a simple list of consts. So I ran the above through a regexp and extrac...
0 1544 posted 15 years ago by mgeduld
0 1743 posted 15 years ago by metoikos
1 1150 posted 15 years ago by cwylie0
This script handles table sorting, is easy to implement and to alter and has decent documentation. I did not write this JavaScript, rather, I found it here: http://www.kryogenix.org/code/browser/sorttable/ I used this script on the ACEE WordPr...
0 1902 posted 15 years ago by racl101
I did not, in fact write this script. I found it here: http://www.webtoolkit.info/javascript-url-decode-encode.html
0 1568 posted 15 years ago by racl101
This code goes directly into your template.php file after you remove the open and close PHP tags at the beginning and end. Then place the call below in your block.tpl.php. Don't forget to flush cache.
0 2123 posted 15 years ago by Onfire60
Copy the first code snippet to your theme's template.php. Then call the following section in you block template file.
0 1838 posted 15 years ago by Onfire60
I use these helper methods to create a jQuery based date text box with appropriate short date formatting.
0 1591 posted 15 years ago by nkirkes
This simple construct allows you to replace parts of a string with items in a hash table (e.g. and Object). Example: var replacements : Object = { SPEED : "slow", ADJECTIVE : "green", VERB: "slithers" }; var template: String = "The %{SPEED}...
0 2581 posted 15 years ago by mgeduld
0 1564 posted 15 years ago by ramy
Accessing the 37signals product Highrise API requires HTTPS. I initially had problems with this (seemingly the certificate authority) from ColdFusion initially. Found the solution by tapping into the underlying Java layer to manage the providers.
0 4048 posted 15 years ago by parkerkrhoyt
A much better implementation of the parameterized and randomized CrabWorld
0 1658 posted 15 years ago by joswald
I had a subtle mistake in my code that was causing the exception. The corrected source code is below:
0 1423 posted 15 years ago by joswald
1 ... 202 203 204 205 206 ... 552