Profile
Achievement
You have not received any achievements.chrisaiv's Recent SnippetsTagged ruby
- All /
« Prev 1 Next »
The Blackberry AppWorld portal allows you to schedule reports which are delivered as CSV.zip files. Although the CSV file offers a lot of detail about operating system and date of download, most of the time I just want to know which users downloaded...
0
903
posted 12 years ago by chrisaiv
If you need to do any sort of screen capturing using FFMPEG, you might need this one day
0
903
posted 12 years ago by chrisaiv
Ruby provides a platform independent way of displaying file paths. Here are a few common ways to show absolute and relative paths.
0
821
posted 14 years ago by chrisaiv
This shows how we can find objects inside code blocks (aka data sets).
0
1138
posted 14 years ago by chrisaiv
I needed a quick way to unescape a URL Encoded string. I found 2 chill ways
2
741
posted 15 years ago by chrisaiv
https://www.chrisjmendez.com/2008/06/21/ruby-mixing-in-a-module-immediately-after-an-objects-singleton-class/
2
781
posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2008/06/04/ruby-open-a-text-file-and-re-write-its-contents-into-a-new-text-file/
1
952
posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/22/ruby-simple-example-of-threading/
3
1358
posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/ruby-how-to-iterate-through-an-array/
3
1214
posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/21/converting-an-array-into-yaml-loading-yaml-into-an-array/
1
1198
posted 16 years ago by chrisaiv
There are many functions available for Time, Month, Day, and Year. Below are a few examples I use frequently
1
939
posted 16 years ago by chrisaiv
Download the Credit Card Library from Lucas Carlson
user$ sudo gem install creditcard
6
1048
posted 16 years ago by chrisaiv
First things First you need to install this ruby gem
user$ sudo gem install ezcrypto
2
803
posted 16 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
965
posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2007/10/15/ruby-parse-delicious-rss-feeds/
2
1115
posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2017/10/15/ruby-web-2-0-name-generator/
1
578
posted 16 years ago by chrisaiv