This file contains hidden or 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
{ | |
"repositories": [ | |
{ | |
"type": "pear", | |
"url": "http://pear.php.net" | |
}, | |
{ | |
"type": "pear", | |
"url": "http://doc.php.net" | |
} |
This file contains hidden or 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
{ | |
"name": "bookworm/fixid3", | |
"description": "Fix encoding of ID3 tags", | |
"require": { | |
"nette/finder": "2.2.*", | |
"nass600/get-id3": "dev-master" | |
}, | |
"authors": [ | |
{ | |
"name": "bookworm", |
This file contains hidden or 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 php | |
<?php | |
$seed = array_merge(range('0', '9'), range('a', 'z'), range('A', 'Z')); | |
$seed_size = count($seed); | |
shuffle($seed); | |
$length = (isset($argv[1])) ? intval($argv[1]) : 32; | |
$randkey = ''; | |
for ($i = 0; $i < $length; $i++) { |
This file contains hidden or 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> | |
<alias> | |
<family>NanumGothic</family> | |
<default> | |
<family>sans-serif</family> | |
</default> | |
</alias> | |
<alias> |
This file contains hidden or 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 strict; | |
use warnings; | |
use Git::Repository; | |
my $fh; | |
open $fh, '-|', 'ssh xen01vm02 ls /home/bookworm/git/' or die('Can\'t open remote git repository'); | |
while ( my $dir = <$fh> ) { |
This file contains hidden or 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; | |
my @files = glob("*.jpg *.png *.tga"); | |
foreach ( @files ) { | |
my $new_filename_prefix; | |
my $new_filename_postfix; |
This file contains hidden or 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
Dim WshSHell | |
set WshShell = CreateObject("WScript.Shell") | |
Do While True | |
set service = GetObject ("winmgmts:") | |
Dim flag | |
flag = False | |
For Each Process in Service.InstancesOf ("Win32_Process") | |
If Process.Name = "Wow-64.exe" Then | |
WshShell.AppActivate("์๋ ์ค๋ธ ์ํฌ๋ํํธ") |
This file contains hidden or 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; | |
if ( $#ARGV < 0 ) { | |
print "Usage : dumpsvn.pl <svn root dir>\n"; | |
exit 1; | |
} |
This file contains hidden or 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
#! /bin/bash | |
COLUMNS=15 | |
x=`tput op` | |
y=`printf %$((${COLUMNS}-6))s` | |
for i in {0..256} | |
do | |
o=00$i | |
echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x | |
done |
This file contains hidden or 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 POSIX qw/floor ceil/; | |
my @data; | |
while ( <> ) { | |
chomp; |