View gist:85fe0a427be088ccb5892f6e4e427f9c
Detected memory leaks!
Dumping objects ->
{20101} normal block at 0x0975DDF8, 32 bytes long.
Data: < ? > 00 00 00 00 00 00 F0 3F 00 00 00 00 00 00 00 00
{20100} normal block at 0x0975A698, 24 bytes long.
Data: < X @ $ > 00 00 00 00 00 58 83 40 00 00 00 00 00 00 24 C0
{19936} normal block at 0x0975D808, 32 bytes long.
Data: < ? > 00 00 00 00 00 00 F0 3F 00 00 00 00 00 00 00 00
{19935} normal block at 0x0975A608, 24 bytes long.
Data: < X @ $ > 00 00 00 00 00 58 83 40 00 00 00 00 00 00 24 C0
View radiko.rb
# coding: utf-8
module Radiko
class Radiko
# channel
# TBS .. TBSラジオ
# RN1 .. ラジオNIKKEI第1
# RN2 .. ラジオNIKKEI第2
# RBC .. RBCiラジオ
# CRK .. ラジオ関西
# RKB .. RKBラジオ
View radiko.rb
# coding: utf-8
module Radiko
class Radiko
# channel
# TBS .. TBSラジオ
# RN1 .. ラジオNIKKEI第1
# RN2 .. ラジオNIKKEI第2
# RBC .. RBCiラジオ
# CRK .. ラジオ関西
# RKB .. RKBラジオ
View radiko
# coding: utf-8
require "radiko/radiko"
include Radiko
c "山下達郎のサンデー・ソングブック", "Sun 14:00", %w(FMT RADIONERRY FMO E-RADIO FMAICHI FMGIFU)
c "Z-POP COUNTDOWN 30", "Sat 13:00", %w(ZIP-FM)
c "ライムスター宇多丸のウィークエンドシャッフル", "Sat 22:00", %w(TBS RAB YBC RBC)
c "菊地成孔の粋な夜電波", "Sun 20:00", %w(TBS IBC YBC RFC BSN)
c "オレたちゴチャ・まぜ", "Sun 1:50", %w(MBS)
c "ライムスター宇多丸とマイゲーム・マイライフ", "Sun 0:0", %w(TBS)
View junk.rb
# coding: utf-8
require "radiko/radiko"
include Radiko
def c(channel, wday)
Radiko::Radiko.new(channel, last_wday(wday + 1, 1, 0)).astr(channel)
end
def junk(title, wday)
print title, "\n",
c("TBS", wday), " ",
View ann.rb
# coding: utf-8
require "radiko/radiko"
include Radiko
def c(channel, wday)
Radiko::Radiko.new(channel, last_wday(wday + 1, 1, 0)).astr(channel)
end
def ann(title, wday)
print title, "\n",
View radiko.rb
# coding: utf-8
module Radiko
class Radiko
# channel
# TBS .. TBSラジオ
# RN1 .. ラジオNIKKEI第1
# RN2 .. ラジオNIKKEI第2
# RBC .. RBCiラジオ
# CRK .. ラジオ関西
View square_gray.rb
i = Image.pick_from_library
puts i.square.gray
View ann.rb
require "radiko/radiko"
def c(channel, wday)
Radiko.new(channel, last_wday(wday + 1, 1, 0)).astr(channel)
end
def ann(title, wday)
print title, "\n",
c("LFR", wday), " ",
c("CBC", wday), " ",
View junk.rb
require "radiko/radiko"
def c(channel, wday)
Radiko.new(channel, last_wday(wday + 1, 1, 0)).astr(channel)
end
def junk(title, wday)
print title, "\n",
c("TBS", wday), " ",
c("RBC", wday), " ",