Public Gists by towanda

Gravatar
Sat Nov 07 01:58:15 -0800 2009
1
2
3
# Add a bunch of twitter users to one of your twitter lists
#
# use it with a file full of twitter usernames
Gravatar
Wed Oct 14 03:29:38 -0700 2009
1
2
3
    application/activemessage
    application/andrew-inset
    application/applefile
Gravatar
Fri Oct 02 09:54:48 -0700 2009
1
2
3
def valid_email?
  TMail::Address.parse(email)
rescue
Gravatar
Fri Oct 02 09:50:31 -0700 2009
1
2
3
ActionMailer::Base.smtp_settings = {
    :tls => true,
    :address => "smtp.gmail.com",
Gravatar
Fri Oct 02 09:49:20 -0700 2009
1
ruby script/plugin install git://github.com/collectiveidea/action_mailer_optional_tls.git
Gravatar
Tue May 12 06:37:44 -0700 2009
1
2
3
require 'spreadsheet'
book = Spreadsheet.open '/path/to/an/fichero.xls'