Skip to content

Instantly share code, notes, and snippets.

Happy Today!

Minho Ryang minhoryang

Happy Today!
View GitHub Profile
minhoryang /
Last active Sep 17, 2021
import yaml
import click
from conda.core.index import get_index
from import Channel
from conda.resolve import Resolve
from conda_mirror.conda_mirror import DEFAULT_PLATFORMS
minhoryang / injector.js
Created Dec 22, 2018
Inject custom script to main page's document.head, used for bypassing Chrome Extension's Content-Scripts Sandbox.
View injector.js
'Drink Responsibly, Blackmagic lives here.';
* Inject custom script to main page's document.head.
* Used for bypassing Chrome Extension's Content-Scripts Sandbox.
* @param {{type?: string, src?: string, text?: string}} content
* @see Microsoft/vscode#22980, "JSDoc comments are ignored for destructured parameters".
* @see Microsoft/typescript#11597, "Intellisense for object properties defined in multi-line JSDOC comments".
minhoryang /
Created Dec 20, 2018
Email Driven Git Workflow

Email Driven Git Workflow

1. Send your works to peers:

(@ wanted branch)

$ git format-patch -o patched/ -1

  • how many commit? 1

$ git log --format=oneline --decorate=short -10 patches/git.log

minhoryang /
Created Dec 20, 2018
.git/hooks/post-applypatch for rehashing with an original committer.
. git-sh-setup
## XXX: For rehashing with an original comitter:
# Backgrounds:
# - {commit} includes ['tree', 'parent', 'author', 'committer']
# - When `git am` finished, generated an unexpected commit id.
# - Check `git cat-file commit HEAD` and compare it.
# - `git am` handled only ['tree', 'parent', 'author']
minhoryang / gist:af4112f5b18642a6b9683d73ab6e5ed4
Created Nov 19, 2018
classname으로 maven group/artifact id를 찾고싶다면?
View gist:af4112f5b18642a6b9683d73ab6e5ed4
맨 처음 찾은 것.
딱봐도 url 부터 위험하게 생김. 믿지말고, 결과도 이상함
maven 자체 검색엔진
3. sonatype nexus (Sonatype RSO)
View gist:797a3eed4145ccce1bcbc5f898eb800d
pep440 vs semver(node) vs semver(py)
semver(node) caret
pep440 don't have caret
but caret convertable
Comparing between semver spec
minhoryang /
Created Nov 8, 2018
just-news with jsdom+jquery(proxy/virtualconsole/ts/asyncscriptloading)

just-news with jsdom+jquery(proxy/virtualconsole/ts/asyncscriptloading)

View gist:f27be2e8f8a3e58312c115f3aaf9cefa
desktop layer
- lxde?
- chromoting
- x11
application layer
- kakaotalk
transport layer
View byebye-cloudapp
# ByeBye Cloudapp
## Dumping
## Monitoring