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
@minhoryang
minhoryang / easing.js
Created January 22, 2014 08:58 — forked from gre/easing.js
/*
* Easing Functions - inspired from http://gizma.com/easing/
* 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
#!/usr/bin/env python
#
# usage:
# conv2vmx-ovf.py some-vm.ovf
#
# ref: http://www.cnblogs.com/eshizhan/p/3332020.html
#
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 = 'http://csearch.naver.com/dcontent/spellchecker.nhn'
@minhoryang
minhoryang / xcode_ramdisk.sh
Created December 9, 2015 07:31 — forked from derjohng/xcode_ramdisk.sh
Create a RAM disk for using with XCode, with Umount disks method
#!/bin/sh
# Create a RAM disk with same perms as mountpoint
# Script based on http://itux.idev.pro/2012/04/iservice-speed-up-your-xcode-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-%D1%81%D0%BF%D0%BE%D1%81%D0%BE%D0%B1%D1%8B/ with some additions
# Usage: sudo ./xcode_ramdisk.sh start
USERNAME=$(logname)
TMP_DIR="/private/tmp"
RUN_DIR="/var/run"
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
minhoryang / README.md
Created July 22, 2016 12:14 — forked from hirokiky/README.md
Proxy server by using aiohttp.

Async Proxy Server

Installation

pip install -r requirements.txt

Run

Run the backend server

@minhoryang
minhoryang / 0.README.md
Last active September 29, 2018 14:30 — forked from AilisObrian/0.README.md
Node.JS 개발 ν™˜κ²½ ꡬ성!

μ΅œμ‹  Node.js μ„€μΉ˜ 및 μ‚¬μš©

  • $둜 μ‹œμž‘ν•˜λŠ” 쀄은, ν•œμ€„ ν•œμ€„ λ³΅μ‚¬ν•΄μ„œ ν„°λ―Έλ„μ—μ„œ μ‹€ν–‰ν•΄μ£Όμ…”μ•Όν•©λ‹ˆλ‹€.
  • 터미널을 μž¬μ‹œμž‘ ν•˜μ—¬μ•Ό ν•  μˆ˜λ„ μžˆμŠ΅λ‹ˆλ‹€.
    • μž¬μ‹œμž‘ ν›„, ν˜„μž¬ μž‘μ—…ν•˜λŠ” ν΄λ”λ‘œ λ‹€μ‹œ μ΄λ™ν•΄μ£Όμ…”μ•Όν•©λ‹ˆλ‹€.
@minhoryang
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'
@minhoryang
minhoryang / README.md
Created January 14, 2017 10:15 — forked from haje01/README.md
Distributed TensorFlow

λΆ„μ‚° ν…μ„œν”Œλ‘œμš°

이 글을 μž‘μ„±ν•˜λŠ” μ‹œμ (2017-01-11)μ—μ„œ λΆ„μ‚° ν…μ„œν”Œλ‘œμš°μ˜ κ΄€λ ¨ 자료 λΆ€μ‘±μœΌλ‘œ ν™•μ‹€νžˆ λΆ„μ‚° ν•™μŠ΅μ΄ λ˜λŠ”μ§€ 확인이 λ˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€. μ•ˆνƒ€κΉμ§€λ§Œ λ³Έ λ‚΄μš©μ€ 참고만 ν•˜μ‹œκΈ° λ°”λžλ‹ˆλ‹€.

원문 [https://www.tensorflow.org/how_tos/distributed/] (https://www.tensorflow.org/how_tos/distributed/)

κ°œλ… μ„€λͺ…

  • ν΄λŸ¬μŠ€ν„°λŠ” ν…μ„œν”Œλ‘œμš° κ·Έλž˜ν”„μ˜ λΆ„μ‚° μˆ˜ν–‰μ— μ°Έμ—¬ν•˜λŠ” ν…ŒμŠ€ν¬λ“€μ˜ μ§‘ν•©
@minhoryang
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 https://pspdfkit.com with -Weverything because warnings are awesome to prevent bugs) - See https://gist.github.com/steipete/28849365e603dc2015c7107d85142e7b/revisions 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,...>
//
// CHECKERS:
// 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