Skip to content

Instantly share code, notes, and snippets.

View ryoi432's full-sized avatar

ryoi432

View GitHub Profile
@ryoi432
ryoi432 / gist:6eb27fc69b26384d1259
Created January 25, 2015 13:58
addbookmarktitle
#!/usr/bin/perl
use warnings;
use strict;
use utf8;
use LWP::UserAgent;
use Mozilla::CA;
use Encode;
use Encode::Guess;
@ryoi432
ryoi432 / do_not_use_ms_fonts.css
Last active August 29, 2015 14:24
Do not use ms fonts
@charset "UTF-8";
/* MS Pゴシック -> ヒラギノ角ゴ */
@font-face {
font-family: "MS PGothic";
src: local("Hiragino Kaku Gothic Pro W3");
font-weight: normal;
}
@font-face {
font-family: "MS PGothic";
@ryoi432
ryoi432 / matsuya.pl
Created December 18, 2015 14:37
matsuya.pl
#!/usr/bin/env perl
use strict;
use warnings;
use Time::Piece;
use Data::ICal;
use Data::Dumper;
# ここにicsファイルのパスを入力
#!/usr/bin/env perl
use strict;
use warnings;
# usage:
# $ perl decode_nw-7.pl 12121121211112111121121112111121122111111212112
# -> B5468B
my %characters = (