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
| 'How to use -> cscript remote_exe.vbs hostname "cmd /c dir" | |
| strComputer = Wscript.Arguments(0) | |
| strCommand = Wscript.Arguments(1) | |
| Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2:Win32_Process") | |
| errReturn = objWMIService.Create( strCommand , Null, Null, intProcessID ) | |
| Select Case errReturn | |
| Case 0 WScript.Echo "Command successfully completed " & "Process ID: " & intProcessID | |
| Case 2 WScript.Echo "Access Denied" | |
| Case 3 WScript.Echo "INsufficient Privilege" |
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
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
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
| # configuration for osx clipboard support | |
| set-option -g default-command "reattach-to-user-namespace -l sh" |
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 | |
| # 사용법 | |
| # perl demacboogi.pl *.zip #zip파일만 변환 | |
| # perl demacboogi.pl #모든파일 변환 | |
| use 5.010; | |
| use strict; | |
| use warnings; | |
| use Encode qw/encode decode/; | |
| use Unicode::Normalize qw/compose/; | |
| use File::Copy; |
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
| set background=dark | |
| hi clear | |
| if exists("syntax_on") | |
| syntax reset | |
| endif | |
| let colors_name = "kraihlight" |
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
| // ========================= | |
| // Example 1: using a @mixin | |
| // ========================= | |
| // SCSS: | |
| @mixin a_pink_box() { | |
| float: left; | |
| display: block; | |
| color: pink; |
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
| all: | |
| fatpack trace `which patchperl` | |
| fatpack packlists-for `cat fatpacker.trace` >packlists | |
| fatpack tree `cat packlists` | |
| (echo "#!/usr/bin/env perl"; fatpack file; cat `which patchperl`) > patchperl | |
| chmod +x patchperl | |
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 python | |
| import pygtk | |
| pygtk.require('2.0') | |
| import gtk # sets app name | |
| import gnomekeyring | |
| def hack(): | |
| for keyring in gnomekeyring.list_keyring_names_sync(): | |
| for id in gnomekeyring.list_item_ids_sync(keyring): |