Skip to content

Instantly share code, notes, and snippets.

@longfin
longfin / writing.md
Last active October 31, 2024 05:50
μ—”μ§€λ‹ˆμ–΄λ₯Ό μœ„ν•œ κΈ€μ“°κΈ°

이 글은 Heinrich Hartmann λ‹˜μ΄ μž‘μ„±ν•˜μ‹  글을 ν•œκ΅­μ–΄λ‘œ λ²ˆμ—­ν•œ κ²ƒμž…λ‹ˆλ‹€. 원문은 https://www.heinrichhartmann.com/posts/writing/ μ—μ„œ ν™•μΈν•˜μ‹€ 수 μžˆμŠ΅λ‹ˆλ‹€.


κΈ€μ“°κΈ°λŠ” 큰 μ‘°μ§μ—μ„œ 영ν–₯λ ₯을 λ°œνœ˜ν•˜λŠ” 데 μ€‘μš”ν•©λ‹ˆλ‹€. κ²½λ ₯ μžˆλŠ” μ†Œν”„νŠΈμ›¨μ–΄ μ—”μ§€λ‹ˆμ–΄λ‘œμ„œμ˜ κΈ€μ“°κΈ°λŠ” 직무 λ²”μœ„λ₯Ό ν™•μž₯ν•˜κ³  κ²½λ ₯을 λ°œμ „μ‹œν‚€κΈ° μœ„ν•΄ νšλ“ν•΄μ•Ό ν•˜λŠ” κ°€μž₯ μ€‘μš”ν•œ κΈ°μˆ μž…λ‹ˆλ‹€.

κΈ€μ“°κΈ°λŠ” μ–΄λ ΅μŠ΅λ‹ˆλ‹€. λ§Žμ€ μ†Œν”„νŠΈμ›¨μ–΄ μ—”μ§€λ‹ˆμ–΄λ“€μ΄ 글쓰기와 μ”¨λ¦„ν•˜μ£ . 저도 개인적으둜 문학에 λŒ€ν•œ 관심이 μ—†κΈ° λ•Œλ¬Έμ— κΈ€μ“°κΈ°κ°€ μžμ—°μŠ€λŸ½μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.

@cgiosy
cgiosy / gen.js
Last active March 14, 2023 18:09
const fs = require('fs');
const filenum = 30; // or 100
const lines = 2000000; // or 1000000
const errors = 100000;
const ratio = lines / errors | 0;
const count = lines / ratio | 0;
for (let i = 1; i <= filenum; i += 1) {
@Gumball12
Gumball12 / _worth-reading.md
Last active November 13, 2024 00:33
λ‚˜λ₯Ό μœ„ν•΄ μ €μž₯ν•˜λŠ” 읽어볼 λ§Œν•œ κΈ€λ“€ λͺ¨μŒ
@Gumball12
Gumball12 / 19-2-h-ai.md
Last active October 4, 2021 10:52
μ‹œν—˜μš© (h: 쀑간고사, f: 기말고사)

탐색

  • 탐색

    • μƒνƒœκ³΅κ°„ λ‚΄μ—μ„œ
    • μ‹œμž‘μƒνƒœμ—μ„œ λͺ©ν‘œμƒνƒœκΉŒμ§€μ˜ 경둜λ₯Ό μ°ΎλŠ” 것
    • 각 μƒνƒœλ₯Ό μƒμ„±ν•˜λŠ” 것을 μ—°μ‚°μž 라고 함
  • μƒνƒœ, μ—°μ‚°μž, 그리고 μƒνƒœ 트리λ₯Ό μ΄μš©ν•΄ 닡을 μ°Ύμ•„λ‚˜κ°€λŠ” 것

    • λ¬Όλ‘  이λ₯Ό 직접 ν”„λ‘œκ·Έλž˜λ° ν•˜μ§€λŠ” μ•ŠμœΌλ©°, DFS/BFS λ₯Ό μ‚¬μš©ν•΄ ν’€μ–΄λ‚˜κ°
  • μ•Œκ³ λ¦¬μ¦˜

@Gumball12
Gumball12 / README.md
Last active October 4, 2021 10:53
Byte converter implemented by C lang (random int, double, char, string => byte)

Byte Converter

random int, double, char, string => byte

flow chart

@mayneyao
mayneyao / notion2blog.js
Last active April 6, 2025 01:54
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
@noygal
noygal / Windows Subsystem for Linux version 1 and 2 (WSL) - node install guide.md
Last active October 16, 2024 01:06
Installing node via windows subsystem for linux

Windows 10 version 2004 - Installing Node.js on Windows Subsystem for Linux (WSL/WSL2)

UPDATE (Fall 2020): This gist is an updated version to the Windows 10 Fall Creators Update - Installing Node.js on Windows Subsystem for Linux (WSL) guide, I usually just keep here notes, configuration or short guides for personal use, it was nice to know it also helps other ppl, I hope this one too.

Windows updated windows subsystem for linux to version 2, as the F.A.Q stated you can still use WSL version 1 side by side with version 2. I'm not sure about existing WSL machines surviving the upgrade process, but as always backup and 🀞. NOTE: WSL version 1 is not replace/deprecated, and there ar

@heiswayi
heiswayi / repo-reset.md
Created February 5, 2017 01:32
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
@briandk
briandk / CONTRIBUTING.md
Created March 18, 2016 20:29
A basic template for contributing guidelines that I adapted from Facebook's open source guidelines

Contributing to Transcriptase

We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

  • Reporting a bug
  • Discussing the current state of the code
  • Submitting a fix
  • Proposing new features
  • Becoming a maintainer

We Develop with Github

@abravalheri
abravalheri / commit.md
Last active March 26, 2025 10:52 — forked from stephenparish/commit.md
RFC: Git Commit Message Guidelines

Commit Message Guidelines

In the last few years, the number of programmers concerned about writing structured commit messages have dramatically grown. As exposed by Tim Pope in article readable commit messages are easy to follow when looking through the project history. Moreover the AngularJS contributing guides introduced conventions that can be used by automation tools to automatically generate useful documentation, or by developers during debugging process.

This document borrows some concepts, conventions and even text mainly from these two sources, extending them in order to provide a sensible guideline for writing commit messages.