Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Sometimes you need to have an ability to show limited number of elements in your select objects or sort elements by name or so. I figured out that this feature was added to object_select_tag later so that not everybody knows about that. This featureâ...
1
1052
posted 17 years ago by ggb2g
MyActiveRecord is a stand alone db abstraction layer to simplify things between php and mysql. you can download the latest version from www.wattz.net
0
1490
posted 17 years ago by wattz
Very basic way to toggle an element to slide in and out using mootools 1.1. Uses FX.Slide, other transitions are available.
2
1316
posted 17 years ago by 1man
Does not include any of the U.S. properties such as Guam, Virgin Islands, and Puerto Rico.
0
1426
posted 17 years ago by jrphelps
Just a reminder to myself, not really a snippet. When running into memory/speed issues with PHP/MySQL apps, adjust the memory_limit parameter in php.ini.
3
1017
posted 17 years ago by Todd
https://www.chrisjmendez.com/2007/10/22/ruby-simple-example-of-threading/
3
2863
posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/ruby-how-to-iterate-through-an-array/
3
2725
posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/converting-an-array-into-yaml-loading-yaml-into-an-array/
1
2623
posted 17 years ago by chrisaiv
There are many functions available for Time, Month, Day, and Year. Below are a few examples I use frequently
1
1471
posted 17 years ago by chrisaiv
Download the Credit Card Library from Lucas Carlson
user$ sudo gem install creditcard
6
2509
posted 17 years ago by chrisaiv