Skip to content

Instantly share code, notes, and snippets.

View nagayama's full-sized avatar

nagayama nagayama

View GitHub Profile
@nagayama
nagayama / gist:2108
Created July 24, 2008 10:02 — forked from cho45/gist:2106
undefined
   _,,....,,_  _人人人人人人人人人人人人人人人_
-''":::::::::::::`''>   だが断る!!!      <
ヽ::::::::::::::::::::: ̄^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^ ̄
 |::::::;ノ´ ̄\:::::::::::\_,. -‐ァ     __   _____   ______
 |::::ノ   ヽ、ヽr-r'"´  (.__    ,´ _,, '-´ ̄ ̄`-ゝ 、_ イ、
_,.!イ_  _,.ヘーァ'二ハ二ヽ、へ,_7   'r ´          ヽ、ン、
::::::rー''7コ-‐'"´    ;  ', `ヽ/`7 ,'==─-      -─==', i
r-'ァ'"´/  /! ハ  ハ  !  iヾ_ノ i イ iゝ、イ人レ/_ルヽイ i |
!イ´ ,' | /__,.!/ V 、!__ハ  ,' ,ゝ レリイi (ヒ_]     ヒ_ン ).| .|、i .||
`!  !/レi' (ヒ_]     ヒ_ン レ'i ノ   !Y!""  ,___,   "" 「 !ノ i |
@nagayama
nagayama / grab.rb
Last active August 29, 2015 14:03
NHK RADIO Grabber
#!/usr/bin/env ruby
require 'open-uri'
require "nokogiri"
xmls = [
"https://cgi2.nhk.or.jp/gogaku/st/xml/english/kaiwa/listdataflv.xml",
"https://cgi2.nhk.or.jp/gogaku/st/xml/english/timetrial/listdataflv.xml",
"https://cgi2.nhk.or.jp/gogaku/st/xml/english/business1/listdataflv.xml",
]
@nagayama
nagayama / batch.php
Created June 12, 2015 07:18
wordpress batch script
<?php
$_SERVER = array(
"HTTP_HOST" => "localhost",
"SERVER_NAME" => "localhost",
"REQUEST_URI" => "/",
"REQUEST_METHOD" => "GET"
);
define('WP_USE_THEMES', true);
require_once("html/wp/wp-load.php");

Keybase proof

I hereby claim:

  • I am nagayama on github.
  • I am nagayama (https://keybase.io/nagayama) on keybase.
  • I have a public key ASCISOxfycKcHGOcmPtKCqLbOD3TdMnR2aXcLgXC0iXH9wo

To claim this, I am signing this object: