Skip to content

Instantly share code, notes, and snippets.

@southrop
southrop / agqr.md
Last active November 6, 2017 06:21 — forked from ybenjo/README.md
save AGQR radio programs.

agqr.rb

What is this?

A script used to save radios broadcasted on AGQR.

Differences in this fork

Compared to ybenjo/agqr.rb:

  • Fixed the script to work if run on machines that operate on non-JST timezones
  • Fixed a bug in the folder creation part of the script which would cause the script to fail and not run
  • Changed the folder paths to be within the same directory as the script
  • Updated the dependencies to say Ruby 2.x or above, because __dir__ was only introduced in Ruby 2.0.0.
@j3tm0t0
j3tm0t0 / crontab
Last active February 8, 2021 10:32 — forked from matchy256/rec_radiko.sh
簡易Radiko録音ツール。要swftools/rtmpdump/libxml/wget/ffmpeg/lame
# ANN
59 0 * * 5 sh ~/bin/rec_radiko.sh LFR 122 ~/mp3/"ナインティナインのオールナイトニッポン "
59 0 * * 7 sh ~/bin/rec_radiko.sh LFR 122 ~/mp3/"オードリーのオールナイトニッポン "
# ANN0
59 2 * * 5 sh ~/bin/rec_radiko.sh LFR 122 ~/mp3/"Hi-Hiのオールナイトニッポン0 "
# JUNK
59 0 * * 2 sh ~/bin/rec_radiko.sh TBS 122 ~/mp3/"JUNK 伊集院光・深夜の馬鹿力 "
59 0 * * 3 sh ~/bin/rec_radiko.sh TBS 122 ~/mp3/"JUNK 爆笑問題カーボーイ "
@todesking
todesking / corpse.rb
Created July 2, 2010 15:11
「行旅死亡人データベース」のスクレイパ
require 'rubygems'
require 'uri'
require 'net/http'
require 'nokogiri'
class Corpse
def initialize(uri=URI.parse('http://theoria.s284.xrea.com/corpse/index.html'))
@uri=uri
@contents=nil
end