Skip to content

Instantly share code, notes, and snippets.

@lifthrasiir
lifthrasiir / README.md
Last active September 19, 2023 12:33
〈정다면체는 사실 48종류 있음〉 번역 용어집

일반적인 용어가 없거나 부적절하여 새로 만들어낸 용어는 *로 표시함.
일부는 영어로도 정립된 용어가 없는데 이 경우 영어에도 *가 붙어 있음.

기본 용어

@ENvironmentSet
ENvironmentSet / HKT.ts
Last active August 28, 2023 04:47
Encoding HKTs in typescript without declaration merging
export interface HKT {
param: unknown;
result: unknown;
}
interface NotHKT extends HKT {
result: this['param'] extends true ? false : true;
}
interface FstHKT extends HKT {
@comchangs
comchangs / how_to_merge_text_file_on_windows.md
Created October 15, 2017 07:23
윈도우에서 간단하게 여러 텍스트파일 합치기

출판사 편집인으로 있는 친구의 짧은 물음으로 생각해보게 된 텍스트 파일을 간단하게 합치는 방법을 공유합니다.

친구의 이슈

출판을 위해 연재한 소설이 각 회차별로 약 500여개의 텍스트 파일로 되어 있어 편집과 검수가 쉽도록 한 파일로 합치고자함.

해결방법

  1. 특정 폴더에 합치고자 하는 텍스트 파일들을 모아 놓는다.
  2. CMD를 열어 해당 폴더에서 type *.txt > merged.txt와 같이 입력한다.
  3. merged.txt를 열어 보면 합치기 끝!
@devjin0617
devjin0617 / .manifest
Created May 19, 2017 15:15
chrome extension using a content script to access the `window` object
{
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"js": ["inject.js"],
"all_frames": true
}
],
"web_accessible_resources": [
"content.js"
@raineorshine
raineorshine / human-readable-hash-comparisons.md
Last active April 26, 2024 13:52
An aesthetic comparison of a few human-readable hashing functions.

An Aesthetic Comparison of Human-Readable
Hashing Functions

The following compares the output of several creative hash functions designed for human readability.

sha1's are merely used as arbitrary, longer, distributed input values.

input 1 word output 2 word output 3 word output