Welcome To Snipplr


Everyone's Recent Ruby Snippets Tagged ruby



« Prev 1 2 3 4 5 ... 9
This technical tip shows how developers can convert email messages to other formats like EML, MSG & MHT in cloud using ruby language.
0 3626 posted 11 years ago by johansonkatherine
I had a spreadsheet with a ton of data on it that I wanted in my seeds file. Using example columns in your database titled db_column1, db_column2, db_column3. Place your .xls file into your public folder and run 'gem install roo'
0 3225 posted 11 years ago by asalgan
To be improved to work with fasterCSV
0 3533 posted 11 years ago by legrandkay
If you're using Rails and want to make this a global function, drop this into your application_controller and call it as a function. Example: # get_string_between("hellomyfriendmoto", 'o', 'm') # > myfriend
0 3784 posted 12 years ago by joshmn
0 3151 posted 12 years ago by zhaowu
Use this Gem to programmatically take screenshots of websites with this completely open source and free library. We have also provided easy to follow online tutorials and sample applications to help you set up GrabzIt as quickly as possible. First...
1 3473 posted 13 years ago by Maximus1983
Simple test showing how to make a request to Spotify's API.
2 1538 posted 13 years ago by chrisaiv
Checks to make sure the file is a valid image file, checks max file size, and directory write permissions, requires 'fileutils' gem.
2 3415 posted 13 years ago by kellishaver
An example method for fetching remote JSON data in Ruby.
2 3569 posted 13 years ago by vestimir
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 1252 posted 13 years ago by chrisaiv
Works fine for MacRuby applications
0 3235 posted 13 years ago by iloveitaly
If you need to do any sort of screen capturing using FFMPEG, you might need this one day
0 3259 posted 13 years ago by chrisaiv
Shows how to read/write fully formatted CSV with Ruby
1 3897 posted 14 years ago by m1b
Do a remote search for all gems containing the word 'pdf' with detailed descriptions and view results in textmate requires `rubygems-mate` gem
0 1650 posted 14 years ago by inkdeep
0 3275 posted 14 years ago by inkdeep
0 3314 posted 14 years ago by inkdeep
asdads
0 3347 posted 14 years ago by solhelios
para sumar tres numbres
0 3212 posted 14 years ago by solhelios
pasa euros a pesetas
0 3239 posted 14 years ago by solhelios
A program fronm controlate your programs with dea age
0 3234 posted 14 years ago by solhelios
Programa de una calculadora en ruby ademas de contraseña y usuario
0 3453 posted 14 years ago by solhelios
Trabajo hecho en el campus de software de la universidad de granada . Responde a las preguntas!
0 3139 posted 14 years ago by solhelios
0 3076 posted 14 years ago by er-cico
0 3038 posted 14 years ago by er-cico
Connect to three sites using threads and without using them. Fetch the response. Measure the benchmark.
0 987 posted 14 years ago by Shamaoke
0 1283 posted 14 years ago by almazom
is for easy pay
0 1128 posted 14 years ago by andresbravog
0 1095 posted 14 years ago by Shamaoke
« Prev 1 2 3 4 5 ... 9