Skip to content

Instantly share code, notes, and snippets.

View mu-hun's full-sized avatar
💡
No sliver bullet

Mu hun mu-hun

💡
No sliver bullet
View GitHub Profile
[InternetShortcut]
URL=data:text/html,<input type="color" onchange="document.bgColor=this.value">
@mu-hun
mu-hun / README.md
Last active March 9, 2025 11:53
`nvshare`: 메모리 크기 제약 없는 실용적인 GPU 공유
@mu-hun
mu-hun / recommend-references.md
Last active February 14, 2025 14:29
업무 중 추천 할 만한 서적 📚

소프트웨어 공학

  • 겸손한 개발자가 만든 거만한 소프트웨어
  • 실용주의 프로그래머
  • 맨 먼스 미신
  • 프로그래밍 심리학
  • 내 코드가 그렇게 이상한가요 - 좋은 코드/나쁜 코드로 배우는 설계 입문

학습 방법

  • 크리에이티브 프로그래머
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<script type="text/javascript" src="webcrypto/js/forge/forge.js?v=3.0.4.5" charset="UTF-8"></script>
<script type="text/javascript" src="webcrypto/js/forge/jsbn.js?v=3.0.4.5" charset="UTF-8"></script>
<script type="text/javascript" src="webcrypto/js/forge/util.js?v=3.0.4.5" charset="UTF-8"></script>
<script type="text/javascript" src="webcrypto/js/forge/sha1.js?v=3.0.4.5" charset="UTF-8"></script>
<script type="text/javascript" src="webcrypto/js/forge/sha256.js?v=3.0.4.5" charset="UTF-8"></script>
<script type="text/javascript" src="webcrypto/js/forge/sha512.js?v=3.0.4.5" charset="UTF-8"></script>
<script type="text/javascript" src="webcrypto/js/forge/asn1.js?v=3.0.4.5" charset="UTF-8"></script>
<script type="text/javascript" src="webcrypto/js/forge/cipher.js?v=3.0.4.5" charset="UTF-8"></script>
@mu-hun
mu-hun / jejuair.net.user.js
Created November 15, 2024 02:19
JejuAir login button active for Firefox
// ==UserScript==
// @name JejuAir login button active for Firefox
// @version 1
// @grant none
// @match https://www.jejuair.net/ko/member/auth/login.do*
// @run-at document-end
// ==/UserScript==
const button = document.querySelector(".button-wrap.button-wrap--login button");
button.className = "button button--primary login button--active"
@mu-hun
mu-hun / pathReslove.ts
Created June 4, 2023 06:09
Node JS API `path.resolve` implement
export default function pathResolve(...paths: string[]) {
const parsedPaths = paths.flatMap((path) => path.split('/')).filter(Boolean);
const resolvedPaths = parsedPaths.reduce((previousValue, path) => {
if (path === '..') {
previousValue.pop();
} else {
previousValue.push(path);
}
@mu-hun
mu-hun / light.txt
Last active May 30, 2023 15:01
조명용 인라인 HTML
data:text/html,<input type="color" onchange="document.bgColor=this.value">
@mu-hun
mu-hun / index.ts
Created January 24, 2023 06:21
First item is constant
type A = ['-', ...number[]]
let a = ['-', 1, 2, 3, 4] satisfies A
// You can type check in playground:
// https://www.typescriptlang.org/play?#code/C4TwDgpgBAglC8UDaByAtCgNFAdHgdgK4C2ARhAE5IC61AUHQDYTBQCGCy6WUAjNgCZsAZmwAWalADObYAEspAMzkQpsOkA
@mu-hun
mu-hun / .zshrc
Last active October 21, 2021 03:33
Open Azure repo in Browser from git remote url
function az() {
open `git remote get-url origin |
perl -pe 's#^git\@ssh\.dev\.azure\.com:v3/(.*)/(.*)$|^https://.*@dev.azure.com/(.*)/_git/(.*)$#https://dev.azure.com/\1\3/_git/\2\4#g'`
}