Skip to content

Instantly share code, notes, and snippets.

@yongbin
yongbin / title.org
Created July 9, 2012 09:17
org-mode latex header

BiteMe

@yongbin
yongbin / Firefox.scpt
Created January 21, 2012 06:24
Easily Run Multiple Firefox Instances on a Mac
# http://devongovett.wordpress.com/2009/04/14/multiple-firefox-mac/
do shell script "/Applications/Firefox.app/Contents/MacOS/firefox-bin -no-remote &> /dev/null &"
@yongbin
yongbin / is_bizday.pl
Created January 20, 2012 07:34
is_bizday
#!/usr/bin/env perl
use Web::Query;
use DateTime;
my $dt = DateTime->now;
my $url =
sprintf 'http://www.jacom.co.kr/cgi-pub/calendar/wwwcal.cgi?year=%d&month=%d',
$dt->year, $dt->month;
my $ret = 0;
#/usr/bin/env perl
use 5.010;
use utf8;
use Encode qw/encode_utf8 decode_utf8/;
use Test::More;
use Test::Differences;
use Mandatory qw/elem list/;
binmode STDOUT, ':encoding(utf-8)';
@yongbin
yongbin / 4jeen.pl
Created June 27, 2011 13:49
for jeen
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
use Data::Dumper;
use Test::More;
# (a1 a2 a3)(b4)(c5 c6)
=pod
@yongbin
yongbin / silex-skel-db-no-orm.pl
Created April 20, 2011 17:06
DB를 사용하지만 ORM을 사용하지 않는 간단한 스크립트 작성에 사용하는 skel 입니다.
#!/usr/bin/env perl
use 5.010;
use utf8;
use strict;
use warnings;
use autodie;
use Getopt::Long::Descriptive;
use Carp qw/croak/;
@yongbin
yongbin / .vimrc
Created April 4, 2011 13:34
you will be happy in manipulate text paragraph with below .vimrc setting
vnoremap <Leader>k :!knutize<cr>
@yongbin
yongbin / count-himss2011-words.pl
Created February 25, 2011 21:29
Which word in #HIMSS11 session title is most frequent?
#!/usr/bin/env perl
# Thanks to @JEEN_LEE!
use strict;
use warnings;
use 5.010;
use utf8;
binmode STDOUT, ':encoding(utf8)';
@yongbin
yongbin / fetch-himss2011-slides.pl
Created February 25, 2011 05:08
Simple Web::Scraper and CLI example
#!/usr/bin/env perl
use 5.010;
use utf8;
use strict;
use warnings;
use autodie;
use Getopt::Long::Descriptive;
use URI;