Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 512 513 514 515 516 ... 554
https://www.chrisjmendez.com/2007/10/21/ruby-how-to-iterate-through-an-array/
3 1520 posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/converting-an-array-into-yaml-loading-yaml-into-an-array/
1 1490 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 1205 posted 17 years ago by chrisaiv
Download the Credit Card Library from Lucas Carlson user$ sudo gem install creditcard
6 1351 posted 17 years ago by chrisaiv
First things First you need to install this ruby gem user$ sudo gem install ezcrypto
2 1112 posted 17 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 1283 posted 17 years ago by chrisaiv
This is an xml files that allows/disallows the cross domain communication.
1 975 posted 17 years ago by jitendramr
Writing expressions in CSS, used to make decisions at run-time.
2 1082 posted 17 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 1147 posted 17 years ago by jachin
You can generate a simple bar chart of the values by executing this command...
0 1140 posted 17 years ago by zingo
2 906 posted 17 years ago by edwinjanmoss
0 880 posted 17 years ago by marco3w
https://www.chrisjmendez.com/2007/10/15/ruby-parse-delicious-rss-feeds/
2 1464 posted 17 years ago by chrisaiv
Sitepoint have this useless but cool feature if you hold down the middle click to autoscroll the page - they have replaced the image that indicates scrolling
1 849 posted 17 years ago by natalie
https://www.chrisjmendez.com/2017/10/15/ruby-web-2-0-name-generator/
1 805 posted 17 years ago by chrisaiv
With thanks to joshk :)
4 1083 posted 17 years ago by WimLeers
With thanks to emspace for the original code :)
1 967 posted 17 years ago by WimLeers
With thanks to emspace for the original code :)
3 1138 posted 17 years ago by WimLeers
Step 1: Copy and paste the e-mail Form Code into a 'contact.php' page (must be a html/php page on a server that allows php!). Step 2: Copy n paste the sendeail.php code into a new file. Change the YourEmail section to include your email address. T...
3 1557 posted 17 years ago by jonhenshaw
A database table is basically an array of dictionary objects. As long as all the fields are valid property list types, you can loop through the array creating a managed object for each dictionary and setting the values. If you have an array con...
2 1217 posted 17 years ago by zingo
1 ... 512 513 514 515 516 ... 554