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
; AutoHotKey script by kil9 <krieiter@gmail.com> | |
#SingleInstance | |
A_MaxHotkeysPerInterval := 1000 | |
; for normal keyboard | |
CapsLock::Ctrl | |
+Capslock::CapsLock | |
; Media Keys |
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
; AutoHotKey script by kil9 <krieiter@gmail.com> | |
#SingleInstance | |
A_MaxHotkeysPerInterval := 1000 | |
#Include %A_ScriptDir%/config.ahk | |
#Include %A_ScriptDir%/eng-on-esc.ahk | |
; ! = Alt key, + = Shift Key, ^ = Ctrl Key, # = Windows Key |
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 python3 | |
trans_dict = { | |
'な': 'na', | |
'に': 'ni', | |
'か': 'ka', | |
'し': 'si', | |
'こ': 'ko', |
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
#!/bin/sh | |
# source function library | |
. /etc/init.d/functions | |
APP_NAME='app-server-go' | |
APP_HOME="`dirname "$0"`/.." | |
APP_HOME=`cd "${APP_HOME}" > /dev/null; pwd` | |
cd ${APP_HOME} |
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
import random | |
import requests | |
import time | |
#url = 'http://tgpu102.imgr.nhnsystem.com:30001/darknet1.search?worker_id=1' | |
url = 'http://tgpu102.imgr.nhnsystem.com:41901' | |
IMAGE = 'dog{}.jpg' |
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
# can be dangerous especially for .git directory | |
sed "s/[ \t]\+$//g" -i `find . -name *.scala -or -name *.java` |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<head><title>민영화 방식과 경제력 집중 관련 제반 변수들 간의 관계도</title></head> | |
<style> | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
width: 1024px; | |
height: 1000px; | |
position: relative; | |
} |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<head><title>민영화 방식과 경제력 집중 관련 제반 변수들 간의 관계도</title></head> | |
<style> | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
width: 1024px; | |
height: 1000px; | |
position: relative; |
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
" Add this to your vimrc | |
hi def link traillingWhiteSpaceError Error | |
match traillingWhiteSpaceError /\S\@<=\s\+$/ | |
" originally from kchmck/vim-coffee-script (https://github.com/kchmck/vim-coffee-script) |
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
case "$1" in | |
start) | |
forever start -l /home/ubuntu/.forever/logio/log.io-server.log -a -m 10 /home/ubuntu/node_modules/log.io/bin/log.io-server | |
sleep 1 | |
forever start -l /home/ubuntu/.forever/logio/log.io-harvester.log -a -m 10 /home/ubuntu/node_modules/log.io/bin/log.io-harvester | |
forever list | |
;; | |
stop) | |
forever stop `forever list | grep log.io-server | awk '{ print $3; }'` |
NewerOlder