This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- Turn on antialias and hinting with hintslight --> | |
<match target="font" > | |
<edit mode="assign" name="antialias"> | |
<bool>true</bool> | |
</edit> | |
<edit mode="assign" name="hinting"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim color file | |
" Maintainer: Henry So, Jr. <[email protected]> | |
" These are the colors of the "desert" theme by Hans Fugal with a few small | |
" modifications (namely that I lowered the intensity of the normal white and | |
" made the normal and nontext backgrounds black), modified to work with 88- | |
" and 256-color xterms. | |
" | |
" The original "desert" theme is available as part of the vim distribution or | |
" at http://hans.fugal.net/vim/colors/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use 5.010; # perl 버전 5.10 사용 | |
use common::sense; # utf8, strict, warnings 프라그마 on | |
use Scalar::Random qw( randomize ); # 임의 숫자 구하는 함수 | |
use List::Util qw( max min ); # 최대값 및 최소값 구하는 함수 | |
my $random; # 난수 생성기 | |
my $max = 100; # 난수 최대값 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use 5.010; | |
use common::sense; | |
use List::Util qw( max ); | |
use GD; | |
my $radius = 80; | |
my $font = '/home/keedi/.fonts/NanumGothic.ttf'; | |
my $fontsize = 20; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use 5.008001; | |
use WWW::Mechanize; | |
use Getopt::Long; | |
use File::Slurp qw(slurp); | |
use Pod::Usage; | |
my %options; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use 5.010; | |
use common::sense; | |
use Math::Prime::TiedArray; | |
use List::Compare; | |
# | |
# 실행전 설치 모듈 확인 | |
# $ cpanm common::sense Math::Prime::TiedArray List::Compare |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use common::sense; | |
use Encode; | |
while (<>) { | |
$_ = decode('utf-8', $_); | |
my @found = m/[ㄱ-힣]+/g; | |
say "[$_]" for @found; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /home/keedi/perl5/perlbrew/build; | |
tar xzf /home/keedi/perl5/perlbrew/dists/perl-5.12.0.tar.gz; | |
cd /home/keedi/perl5/perlbrew/build/perl-5.12.0; | |
rm -f config.sh Policy.sh; | |
sh Configure -de -Dprefix=/home/keedi/perl5/perlbrew/perls/perl-5.12.0 -Dusethreads; | |
make; | |
make test && make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax enable " 문법 강조 활성 | |
set t_Co=256 " 256 색상 사용 | |
colorscheme desert256 " 테마를 설정 | |
filetype plugin on | |
set nu " 줄 번호 표시 | |
set hlsearch " 검색 결과 반전 | |
set cindent " C style indent | |
set autoindent " auto indent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static int | |
audio_linux_set_hwparams (AudioLinux * al) | |
{ | |
snd_pcm_hw_params_t *params; | |
unsigned int rrate; | |
int err, dir; | |
snd_pcm_hw_params_malloc (¶ms); | |
/* choose all parameters */ |
OlderNewer