Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Does not include any of the U.S. properties such as Guam, Virgin Islands, and Puerto Rico.
0
1639
posted 18 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
1209
posted 18 years ago by Todd
https://www.chrisjmendez.com/2007/10/22/ruby-simple-example-of-threading/
3
3116
posted 18 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/ruby-how-to-iterate-through-an-array/
3
2971
posted 18 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/converting-an-array-into-yaml-loading-yaml-into-an-array/
1
2842
posted 18 years ago by chrisaiv
There are many functions available for Time, Month, Day, and Year. Below are a few examples I use frequently
1
1662
posted 18 years ago by chrisaiv
Download the Credit Card Library from Lucas Carlson
user$ sudo gem install creditcard
6
2742
posted 18 years ago by chrisaiv
First things First you need to install this ruby gem
user$ sudo gem install ezcrypto
2
1492
posted 18 years ago by chrisaiv
Before you save a password to a database, it may make sense to encrypt it. That way when you do some user authentication, you can compare the users submitted password to the one on the database.
1
1704
posted 18 years ago by chrisaiv
This is an xml files that allows/disallows the cross domain communication.
1
1316
posted 18 years ago by jitendramr
Writing expressions in CSS, used to make decisions at run-time.
2
1675
posted 18 years ago by jitendramr
If you are deleting all the rows in a table and you also want to reset the values that will get used by auto increment, this is how to do it.
0
1578
posted 18 years ago by jachin
You can generate a simple bar chart of the values by executing this command...
0
1499
posted 18 years ago by zingo