Skip to content

Instantly share code, notes, and snippets.

View tkusano's full-sized avatar

Takayuki KUSANO tkusano

View GitHub Profile
@tkusano
tkusano / nihon-tv-animation-taizen.txt
Created December 18, 2014 12:42
日本TVアニメーション大全 原稿執筆者一覧
日本TVアニメーション大全
発行日2014年12月30日 初版第1刷発行
ISBN 978-4-418-14091-8
http://www.sekaibunka.com/book/exec/cs/14901.html
奥付より、執筆者等抜粋:
作品解説執筆:
山中貴幸、皆川ゆか、五味洋子、ぽろり春草、石黒直樹、古城文康、
神武団四郎、加々美利治、松田はる菜、沖本茂義、高崎計三、足立加勇、
@tkusano
tkusano / gist:355224e6d8bf33b9830c
Created November 27, 2014 01:42
cloudfront DNS trouble 2014-11-27 10:42 (+0900)
$ dig +norec @205.251.194.154 d36cz9buwru1tt.cloudfront.net.
; <<>> DiG 9.9.5-3-Ubuntu <<>> +norec @a.root-servers.net d36cz9buwru1tt.cloudfront.net.
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10611
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 16
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
diff -x tests -x __pycache__ -uNr dajaxice.orig/core/__init__.py dajaxice/core/__init__.py
--- dajaxice.orig/core/__init__.py 2014-01-19 18:17:40.000000000 +0900
+++ dajaxice/core/__init__.py 2014-07-03 18:02:09.260024999 +0900
@@ -1,6 +1,6 @@
from django.conf import settings
-from Dajaxice import Dajaxice, dajaxice_autodiscover
+from .Dajaxice import Dajaxice, dajaxice_autodiscover
--- 20140124.html 2014-06-09 16:37:40.839201388 +0900
+++ 20140124.html.orig 2014-06-09 16:37:31.307201438 +0900
@@ -113,7 +113,7 @@
<li>資料4-1<a href="data/0010_04_01.pdf" target="_blank"><img src="/common/images/icon_pdf.gif" width="12" height="12" alt="" class="file" />排水路に関する調査と対策状況について[東京電力]【PDF:2.95MB】<img src="/common/images/icon_window.gif" width="12" height="12" alt="別ウインドウで開きます" class="external" /></a></li>
<li>資料4-2<a href="data/0010_04_02.pdf" target="_blank"><img src="/common/images/icon_pdf.gif" width="12" height="12" alt="" class="file" />排水路に関する調査と対策状況について[東京電力]【PDF:3.24MB】<img src="/common/images/icon_window.gif" width="12" height="12" alt="別ウインドウで開きます" class="external" /></a></li>
<li>資料5<a href="data/0010_05.pdf" target="_blank"><img src="/common/images/icon_pdf.gif" width="12" height="12" alt="" class="file" />護岸付近の地下水からの告示濃度限度を超える放射性物質の検出等に関する対応 について[東京電力]【PDF:2.02MB】<img src="/common/images/icon_window.gif" width="12" height="12" alt="別ウインドウで開きます" class="external" /></a></l
@tkusano
tkusano / django-dajaxice-ng-0.5.6.5-python3.patch
Last active August 29, 2015 13:56
python3 patch for django-dajaxice-0.5.6.5
diff -uNr django-dajaxice-ng-0.5.6.5.orig/core/__init__.py django-dajaxice-ng-0.5.6.5/core/__init__.py
--- django-dajaxice-ng-0.5.6.5.orig/core/__init__.py 2014-01-19 18:17:40.000000000 +0900
+++ django-dajaxice-ng-0.5.6.5/core/__init__.py 2014-02-26 15:17:16.122867309 +0900
@@ -1,6 +1,6 @@
from django.conf import settings
-from Dajaxice import Dajaxice, dajaxice_autodiscover
+from .Dajaxice import Dajaxice, dajaxice_autodiscover
$ host www.melbourneit.com.au
www.melbourneit.com.au has address 203.27.227.79
$ telnet 203.27.227.79 80
Trying 203.27.227.79...
Connected to 203.27.227.79.
Escape character is '^]'.
GET /blog/ HTTP/1.1
Host: www.melbourneit.com.au
Connection: close
@tkusano
tkusano / gist:6153061
Created August 5, 2013 02:27
freerdb 1.0.1 jp keyboard fix (for Ubuntu 13.04)
Index: freerdp-1.0.1/libfreerdp-core/freerdp.c
===================================================================
--- freerdp-1.0.1.orig/libfreerdp-core/freerdp.c 2013-08-05 10:55:39.000000000 +0900
+++ freerdp-1.0.1/libfreerdp-core/freerdp.c 2013-08-05 11:03:46.108837876 +0900
@@ -35,6 +35,18 @@
rdp = instance->context->rdp;
+ {
+ rdpSettings* settings;
@tkusano
tkusano / lwp-ipv6-test.pl
Created February 4, 2011 03:16
Connect IPv6 only host by libwww-perl
#! /usr/bin/perl
use strict;
use warnings;
use utf8;
use IO::Socket::INET6;
use LWP::UserAgent;
## Use IO::Socket::INET6 instead of IO::Socket::INET6 in Net::HTTP.
BEGIN {
@tkusano
tkusano / unicode-normalize-test.pl
Created December 23, 2010 07:51
Unicode Normalization test using Unicode::Normalize
#! /usr/bin/perl
use strict;
use local::lib;
use Unicode::Normalize;
use bytes;
no bytes;
use utf8;
use Encode qw(encode_utf8);
#! /usr/bin/perl
##
## Convert EmojiSources.txt to UTF-8 text
##
use strict;
use warnings;
binmode STDOUT, ':utf8';