2015-07-06 :-(
_ 午後
1615 退勤
_ ,
Re: Moving pkgsrc-wip away from SourceForge
NetBSD community is (or was?) known to make decisions based on Engineering merits / demerits of an approach and not by what is the talk of the town. It is sad to hear "Let's use X because that's popular" kind of voice on NetBSD lists.
新井俊一のソフトウェアビジネスブログ: 流行のIT技術を追うのをやめたらプログラマとして成長した話
これからあなたが流行の新ツール "SuperduperX"を学んだとしても、たぶんその知識は数年後には役立たずです。しかし、こうした基礎を学んでいれば、たぶん10年後もいくらか役に立つことでしょう。
hmmmm....
_ [Ruby][Gmail]Ruby で Gmail アカウントへメール送信する
日本語おかしいような。
環境
- ruby 2.2.2
- mikel/mail
Google アカウントの設定
結局 Gmail の「アプリパスワード」が必要だった RubyでGmailを使う - grotta blog
Google アカウント - ログインとセキュリティ - アプリ パスワード
この「アプリ パスワード」を以 :password に設定すればよい。:domain はいまだによく分かってない。
# coding: utf-8 require 'mail' options = { :address => "smtp.gmail.com", :port => 587, :domain => 'area51.gr.jp', :user_name => 'miwarin', :password => 'パスワード', :authentication => 'plain', :enable_starttls_auto => true } Mail.defaults do delivery_method :smtp, options end mail = Mail.new mail.from = 'riinn5511@yahoo.co.jp' mail.to = 'miwarin@gmail.com' mail.subject = '日本語タイトル' mail.charset ='iso-2022-jp' mail.add_content_transfer_encoding mail.body = '日本語本文' mail.deliver