Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
Natural Born Developer

Hyeon Kim (김지현) simnalamburt

:shipit:
Natural Born Developer
View GitHub Profile
@simnalamburt
simnalamburt / README.md
Last active Apr 15, 2021
TypeScript vs Flow
View README.md
View keybase-github.md

키베이스로 깃 커밋 서명하는법

A. PGP 공개키-비공개키 키쌍 등록

갖고있는 PGP 키쌍이 없을경우 새로 만들어야한다. 이미 키 쌍이 keybase에 업로드되어있는 경우, 기존의 키를 컴퓨터에 다운로드하기만 하면 된다.

A.1. 새 키 만들어서 하는법

keybase login
View unspecified.md

NOTE: This article is written before C++17 release. Evaluation order of functions arguments is not UsB anymore. See P0145 for further details.

 

unspecified.cpp

이 문서는 제가 트위터에 냈던 문제의 해설입니다.

#include <vector>
View test.php
<?php
$img = fopen("php://memory","r+");
fwrite($img,hex2bin("ffd83000103030303030303030303030303030fffe000e303030303030303030303000fffe000e303030303030303030303000fffe00103030303030303030303030303000ffe102994578696600004d4d002a00000008000282980002000000300000002692860002000000300000004f000000683030303030303030303030300400303030303000303030303030303030303030303030303030303030554e49434f4445003030303030303030303030303030303030000202010004000000010000008602020004000000010000000430303030ffd8ff00027fff30303030303030303030303030ff30008430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030ffc000303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030
View README.md

[KINTA]'s heci-qst.c with MEI kernel support

This is mirror of [KINTA]'s [heci-qst.c]. [KINTA]'s [heci-qst.c] is modified from [Andriy Gapon]'s heci-qst.c to support Intel MEI.

# Make sure that your kernel have Intel MEI support. Those values should be 'y' or 'm'
$ gzip -dc /proc/config.gz | grep INTEL_MEI
CONFIG_INTEL_MEI=m
CONFIG_INTEL_MEI_ME=m
View run
#!/usr/bin/env python3
# 심심해서 8percent 면접문제 풀어봄. 푸는데에 20분 걸림.
#
# Reference:
# https://web.archive.org/web/20170226231428/https://brunch.co.kr/@sunghokimnxag/5
def pingpong(target: int) -> int:
return pingpong_internal(target, 1, 1, True)
def pingpong_internal(target: int, n: int, state: int, is_plus_direction: bool) -> int:
@simnalamburt
simnalamburt / debug.asc
Created Feb 6, 2019
디버깅 기록 (비밀)
View debug.asc
-----BEGIN PGP MESSAGE-----
hQIMA1aQd6S74F72ARAAnkFGZCWPXl4mNOjIxPAvqxpNcJB6zg/xpzJ3z7rf7lj+
Kro5rHPq0sONDy0I/WHzil5p2HIlprcQLXId30LYbxdBd2cKWaRAY1d0Zx1VzaDp
U3Uo+D2LjXAgq9Al9Tt89TRiJj4DFduahMzi1XiWH+PnYY+MEoQkltjua6gXGYCP
dfgafZARKL3qau+VBsCCSkEe3XRjG60gZr6AqQE1J5Q3dZQia/OqL1wlhykMYrEJ
6/albd7vbnrrnPvMxq5uzKSedU2zcdgCrugDzNF6TwSYtVzoL+CGpxNO4+EWbftf
8zSH7+QvpcVMvYqTrSbGyDXKnqq/46zpa4OAx0UCLqZisufh/plCjIls7FRy0LkM
yNamqwFBzgY77Hsn68/4VToZaTPWpdc4KZCYDjfKDn1qJimAGKISHdd4eE+YspaY
toI9yNmtVvgjTCBT8TiynU2TFlYHCQt0kIlo8RI2u/jHM9cfs4yXq7hfXonIlPPQ
@simnalamburt
simnalamburt / ratbox-service-howto.md
Last active Jan 31, 2019
ratbox 서비스 간단한 사용법
View ratbox-service-howto.md

Ratbox 쓰는 IRC 서버는 옵이 날아가면 복구가 매우 힘들어서 항상 고생스러웠는데 드디어 ratbox용 IRC 서비스 사용법을 익혔다. 이 사실을 널리 알려 옵이 날아가지 않도록 해주세요.

사용법

# 모든 커맨드 도움말 보기
/msg userserv HELP
/msg chanserv HELP
View notify
#!/usr/bin/env osascript -l JavaScript
// vim: ft=javascript
// 사용법:
// ./notify 안녕하세요. 김지현 입니다.
//
// 위와 같이 실행하면 알림센터에 '안녕하세요. 김지현 입니다.' 라는 메세지가
// 벨소리와 함께 뜨고, '안녕하세요. 김지현 입니다.'라는 목소리가 재생된다.
'use strict'
View crazy.md

Pip 버그 #3763, #3830, #4453

requirements.txt를 아래와 같이 쓰면

blabla==1.5 --install-option="--use-bundle"