jpeg

RMagick (from source) on Snow Leopard

After the release of 10.5, I published an article about building RMagick from source on Leopard. I won’t rehash the why, you can read the original article for that. My clean install necessitated updating the RMagick script, so here’s what worked for me to install from source on Snow Leopard! For the impatient, here’s the download link: rmagick-build.sh

Receive Mail with attachment using TMail - Ruby on Rails

Receive Mails using TMail. I like to use TMail for receive mail because TMail is best to handle the header of the email object. There are only a few methods that deal directly with the body of the email. So i just thought to share it. I have used pop3 for receive mail and use TMail for parse it.
For use TMail you need to do install gem.

gem install TMail

def popmail
     require 'net/pop'

Save images from any URL

Save images from any URL

Note: it will works only OS –> WINDOWS and Browser –>  IE

1. install Ruby

2. Install watir gem – gem install watir

3. Look this code

Code:

require ‘watir’
include Watir
#browser = Watir::IE.new
browser=Watir::IE.new
browser.visible=true
browser.goto(’http://www.misipile.com/’)

idx = 0

Video thumbnails with FFmpeg and Paperclip

We’ve spent the last few weeks working on a new Rails app for a film and photography site and, as you might expect from my recent

Syndicate content