Skip to content

Instantly share code, notes, and snippets.

Piotr Macuk macuk

Block or report user

Report or block macuk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@macuk
macuk / phone2letters.rb
Last active Aug 29, 2015
Phone number to letters converter
View phone2letters.rb
Letters = {
'0' => %w(0),
'1' => %w(1),
'2' => %w(a b c),
'3' => %w(d e f),
'4' => %w(g h i),
'5' => %w(j k l),
'6' => %w(m n o),
'7' => %w(p q r s),
'8' => %w(t u v),
@macuk
macuk / mail-gem-problem.rb
Last active Dec 23, 2015
Mail gem problem
View mail-gem-problem.rb
# - Konfeo.com
# - Mail wysyłany jako organizator
# - ~ 15 000 wysyłanych maili miesięcznie
# ------------------------------------------------------------
# Kodowanie nagłówków maili
require 'mail'
m = Mail.new
You can’t perform that action at this time.