Skip to content

Instantly share code, notes, and snippets.

View kil9's full-sized avatar
🏠
Working from home

kil9 kil9

🏠
Working from home
View GitHub Profile
@kil9
kil9 / index.html
Created March 28, 2013 13:23
hey jude
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width: 960px;
height: 500px;
position: relative;
}
circle {
@kil9
kil9 / logio.sh
Last active December 15, 2015 22:39
log.io controller script
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; }'`
@kil9
kil9 / highlight_trailling_whitespace.vim
Created May 11, 2013 09:36
Highlight trailling white space
" 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)
@kil9
kil9 / index.html
Last active March 3, 2016 02:53
privatization
<!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;
@kil9
kil9 / activate_putty.ahk
Last active August 29, 2015 14:10
focus to putty
!+p::
If WinExist("ahk_class PuTTY") {
WinActivate
} else {
Run, D:\Dropbox\Bin\putty.exe
}
Return
--- a/setup.py 2014-03-17 03:31:31.000000000 +0100
+++ b/setup.py 2014-03-17 19:06:03.000000000 +0100
@@ -750,10 +750,8 @@
exts.append( Extension('_socket', ['socketmodule.c'],
depends = ['socketmodule.h']) )
# Detect SSL support for the socket module (via _ssl)
- search_for_ssl_incs_in = [
- '/usr/local/ssl/include',
- '/usr/contrib/ssl/include/'
- ]
@kil9
kil9 / scala-assign.ipynb
Last active August 29, 2015 14:22
scala의 assign에 대하여
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kil9
kil9 / car_accident.ipynb
Created June 6, 2015 11:16
규정속도와 교통사고 사망률
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kil9
kil9 / dereste.py
Last active October 1, 2015 05:41
dereste gacha simulator
#!/usr/bin/env python3
import sys
from functools import reduce
# 단차에서 SSR이 나올 확률
P_SSR = 0.015
# 단차에서 SR이나 R이 나올 확률(플래티넘이므로 R 이상 고정)
P_SR_R = 1 - P_SSR
@kil9
kil9 / index.html
Created March 3, 2016 03:02
민영화 방식과 경제력 집중 관련 제반 변수들 간의 관계도
<!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;
}