Skip to content

Instantly share code, notes, and snippets.

View JEEN's full-sized avatar

Jeen Lee JEEN

View GitHub Profile
108번의 내려놓음.zip*
1日30分.zip*
20대, 공부에 미쳐라.zip*
88만원세대.zip*
Ship It - 성공적인 소프트웨어 개발 프로젝트를 위한 실용가이드.zip*
이 남자를 사랑하고 싶다.zip*
내 인생에서 놓쳐선 안될 1% 행운.zip*
피터 드러커 - 자기경영노트.zip*
깨진 유리창 법칙.zip*
나를 바꾸는 심리학의 지혜 - 프레임.zip*
use LWP::Simple;
my $content = get('http://gist.github.com/raw/466580/b6d2433feabd1557e72398df88dd337023a272eb/gistfile1.phtml');
my @links = $content =~ /href="(http:\/\/.*\?IM=[^"]+)"/g;
print join("\n", @links);
perl -e 'use Time::HiRes qw/usleep/;$|=1;@chars=(0,1," ");print "\033[1;32m";while(1){print $chars[int(rand(@chars))];usleep(500);}; print "\033[0m";'
.
|-- Changes
|-- Makefile.PL
|-- README
|-- conf
| |-- log4perl.conf
| `-- messages.yaml
|-- data
| `-- backup
| `-- ....
diff --git a/lib/Gitalist/Git/Repository.pm b/lib/Gitalist/Git/Repository.pm
index bcb36fa..962466e 100644
--- a/lib/Gitalist/Git/Repository.pm
+++ b/lib/Gitalist/Git/Repository.pm
@@ -230,7 +230,7 @@ class Gitalist::Git::Repository with Gitalist::Git::HasUtils {
method _build_description {
my $description = "";
eval {
- $description = $self->path->file('description')->slurp;
+ $description = $self->path->file('description')->slurp( iomode => '<:encoding(utf8)' );
@JEEN
JEEN / wget.rb
Created October 23, 2010 14:24
wget Formula
require 'formula'
class Wget <Formula
homepage 'http://www.gnu.org/software/wget/'
url 'http://ftp.gnu.org/gnu/wget/wget-1.12.tar.bz2'
md5 '308a5476fc096a8a525d07279a6f6aa3'
depends_on "libidn" if ARGV.include? "--enable-iri"
def options
var PUBLITWEET_INTERFACE_LOADED = false;
function publitweet_blackbird_close(){
id="publitweet_bookmarklet";
PUBLITWEET_INTERFACE_LOADED=false;
jQuery('#'+id).remove();
}
function showItem(id){
try{
12/1 aer0
12/2 envi
12/3 keedi
12/4 gypark
12/5 crowdy
12/6 eeyees
12/7 h0ney
12/8 jeen_lee
12/9 luzluna
12/10 aer0, jeen_lee
@JEEN
JEEN / generate-epub.pl
Created December 4, 2010 17:25
epub epub epub
use strict;
use warnings;
use EBook::EPUB;
use Path::Class;
use Data::Section::Simple;
use File::Temp;
my $title = 'Girls';
my $author = '@eeyees';
my $epub = EBook::EPUB->new;
@JEEN
JEEN / shortcut-manger-import.js
Created February 22, 2011 11:04
shortcut-manger-import.js
// ==UserScript==
// @ShortcutManager
// @name Read It Later
// @namespace rdxE13eT1vzz
// @key Ctrl+i
// @include *
// ==/UserScript==
javascript:function%20iprl5(){var%20d=document,z=d.createElement('scr'+'ipt'),b=d.body;try{if(!b)throw(0);d.title='(Saving...)%20'+d.title;z.setAttribute('src','http://github.com/JEEN/Filstapaper/raw/master/etc/bookmarklet.js?u='+encodeURIComponent(d.location.href)+'&t='+(new%20Date().getTime()));b.appendChild(z);}catch(e){alert('Please%20wait%20until%20the%20page%20has%20loaded.');}}iprl5();void(0)