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; | |
| 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
| #! /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
| <?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 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
| { | |
| "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
| { | |
| "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
| #nop | |
| #nop Auto Walk commands | |
| #nop | |
| #alias {vpath} {#alias {2*}} | |
| #nop | |
| #nop From midgard | |
| #alias {2ring} {#2 s;#6 w;s;e;n;n;w;w;#5 n;e;l ring} | |
| #alias {2build} {s;s;#2 e;#2 s} | |
| #alias {2shire} {2edge;w;s;e;#2 n} | |
| #alias {2west} {2edge;#3 n;#3 e;#2 n;e;#7 n} |
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/sh | |
| for i in $( find . -iregex ".*\.\(php\|c\|cc\|h\|cpp\)$" ); do | |
| if [ -f $i ]; then | |
| iconv -c -f UHC -t utf-8 -o $i.tmp $i | |
| mv -f $i $i.bak | |
| mv -f $i.tmp $i | |
| echo $i | |
| fi | |
| 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
| map $http_host $rootpath { | |
| ~^(?<domain>.+)\.dev$ $domain; | |
| default /; | |
| } |