Skip to content

Instantly share code, notes, and snippets.

@motemen
motemen / cool.txt
Created April 20, 2011 11:38
魔法少女まどか☆マギカ 最終回放送スケジュール
_人人人人人人人人人人人人人人人人人人人人人人人人人人_
>  魔法少女まどか☆マギカ 最終回放送スケジュール  <
 ̄^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y ̄
2011/04/21
26:00 27:00 28:00 29:00
|-----------|-----------|-----------|
MBS (関西) |-------111111222222----|-----------|
TBS (関東) |-------:---000000111111222222------|
: : : :
@radamant
radamant / haml_converter.rb
Created July 19, 2010 14:16
Simple haml-sass conversion for jekyll
module Jekyll
require 'haml'
class HamlConverter < Converter
safe true
priority :low
def matches(ext)
ext =~ /haml/i
end
@koseki
koseki / sendgmail.rb
Created March 27, 2009 16:59
rubyで日本語のメール送信
# Send Japanese mail using Gmail SMTP server. You need tlsmail.
# $ sudo gem install tlsmail
require "rubygems"
require "tlsmail"
require "nkf"
require "net/smtp"
def sendgmail(from, to, subject, body, user, pass, host = "smtp.gmail.com", port = 587)
body = <<EOT