Skip to content

Instantly share code, notes, and snippets.

View minhoryang's full-sized avatar
Happy Today!

Minho Ryang minhoryang

Happy Today!
View GitHub Profile
#!/usr/bin/env python
# usage:
# some-vm.ovf
# ref:
import sys
fn = sys.argv[1]
#!/usr/bin/env python2
# coding: utf-8
from __future__ import print_function
import sys
import re
import json
import urllib
from colorama import init, Fore, Back, Style
URL = ''
minhoryang /
Created December 9, 2015 07:31 — forked from derjohng/
Create a RAM disk for using with XCode, with Umount disks method
# Create a RAM disk with same perms as mountpoint
# Script based on with some additions
# Usage: sudo ./ start
minhoryang / easing.js
Created January 22, 2014 08:58 — forked from gre/easing.js
* Easing Functions - inspired from
* only considering the t value for the range [0, 1] => [0, 1]
EasingFunctions = {
// no easing, no acceleration
linear: function (t) { return t },
// accelerating from zero velocity
easeInQuad: function (t) { return t*t },
// decelerating to zero velocity
import os
import pytest
from alembic.command import upgrade
from alembic.config import Config
from project.factory import create_app
from project.database import db as _db
minhoryang /
Created July 22, 2016 12:14 — forked from hirokiky/
Proxy server by using aiohttp.

Async Proxy Server


pip install -r requirements.txt


Run the backend server

minhoryang /
Created January 14, 2017 10:15 — forked from haje01/
Distributed TensorFlow

분산 텐서플로우

이 글을 작성하는 시점(2017-01-11)에서 분산 텐서플로우의 관련 자료 부족으로 확실히 분산 학습이 되는지 확인이 되지 않았습니다. 안타깝지만 본 내용은 참고만 하시기 바랍니다.

원문 [] (

개념 설명

  • 클러스터는 텐서플로우 그래프의 분산 수행에 참여하는 테스크들의 집합
minhoryang / Warnings.xcconfig
Created February 8, 2017 16:32 — forked from steipete/Warnings.xcconfig
Did you knew that Clang Analyzer as alpha checkers? Early Christmas is here! (Ignore the rest... we run our PDF SDK with -Weverything because warnings are awesome to prevent bugs) - See for a list of Xcode 8.3 changes
// clang -cc1 -analyzer-checker-help
// OVERVIEW: Clang Static Analyzer Checkers List
// USAGE: -analyzer-checker <CHECKER or PACKAGE,...>
// alpha.core.BoolAssignment Warn about assigning non-{0,1} values to Boolean variables
// alpha.core.CallAndMessageUnInitRefArg
// Check for logical errors for function calls and Objective-C message expressions (e.g., uninitialized arguments, null function pointers, and pointer to undefined variables)
// alpha.core.CastSize Check when casting a malloc'ed type T, whether the size is a multiple of the size of T
// alpha.core.CastToStruct Check for cast from non-struct pointer to struct pointer
minhoryang / haproxy.cfg
Created July 25, 2017 16:50 — forked from jpawlowski/haproxy.cfg
Geeking out with HAproxy on pfSense: The ultimate port 443 TLS/SSL router |
maxconn 2000
stats socket /tmp/haproxy.socket level admin
uid 80
gid 80
nbproc 1
chroot /tmp/haproxy_chroot
tune.ssl.default-dh-param 2048
# Modern browser compatibility only as mentioned here:
minhoryang / init.vim
Last active July 26, 2017 09:20
Minhoryang's Neovim HEAD .nvimrc
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
let g:loaded_netrw = 1
let g:loaded_netrwPlugin = 1
let g:NERDTreeChDirMode = 2
let g:NERDTreeMinimalUI = 1
let g:NERDTreeShowHidden = 1
let g:NERDTreeIgnore=['\.git$', '.DS_Store']
Plug 'Xuyuanp/nerdtree-git-plugin'