Skip to content

Instantly share code, notes, and snippets.

View neuwcodebox's full-sized avatar
πŸ€”
Thinking

Neuw15611cbox neuwcodebox

πŸ€”
Thinking
  • South Korea
  • 04:05 (UTC +09:00)
View GitHub Profile
@nemorize
nemorize / korean-subway-station-list.json5
Last active August 12, 2025 07:23
λŒ€ν•œλ―Όκ΅­ ꡭ내에 μ‘΄μž¬ν•˜λŠ” μ§€ν•˜μ² μ—­ 정보(μ—­λͺ…, 지역ꡬ, λ…Έμ„ , μœ„/경도) λͺ©λ‘
[
// =======================================================
// λ³Έ μžλ£ŒλŠ” CC0-1.0 λΌμ΄μ„ μŠ€λ₯Ό λ”°λ¦…λ‹ˆλ‹€.
// https://creativecommons.org/publicdomain/zero/1.0/deed
// μ €μž‘κΆŒμžμ˜ ν—ˆλ½μ„ κ΅¬ν•˜μ§€ μ•Šμ•„λ„ 상업적인 λͺ©μ μ„ ν¬ν•¨ν•œ μ–΄λ– ν•œ λͺ©μ μœΌλ‘œλ“ 
// 자유둭게 볡사, μˆ˜μ •, 배포, μ‹€μ—°ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
// =======================================================
// λͺ¨λ“  μ •λ³΄λŠ” 직접 μˆ˜μ§‘ν•˜μ—¬ μ •λ¦¬ν•œ μ •λ³΄μž…λ‹ˆλ‹€.
// 일뢀 정보가 μ˜€κΈ°λ˜μ—ˆκ±°λ‚˜, μœ„/경도 μ’Œν‘œκ°€ λΆ€μ •ν™•ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
// Gist λŒ“κΈ€μ„ 톡해 였λ₯˜λ₯Ό μ œλ³΄ν•΄μ£Όμ„Έμš”.
@adtac
adtac / Dockerfile
Last active July 13, 2025 20:06
#!/usr/bin/env docker run
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')"
# syntax = docker/dockerfile:1.4.0
FROM node:20
WORKDIR /root
RUN npm install sqlite3
@danielduckworth
danielduckworth / chromadb-cheatsheet.md
Last active October 23, 2024 06:09
Chromadb JS API Cheatsheet

Chromadb Javascript API Cheatsheet

πŸ’‘ NOTE This is a quick cheatsheet of the API. For full API docs, refer to the JS and Python docs in the sidebar.

Run the backend

Run chroma run --path /db_path to run the Chroma backend as a standalone server on your local computer.

@danielwetan
danielwetan / nodejs-cicd-github-actions.md
Last active November 13, 2025 15:12
Deploy Node.js to VPS using Github Actions

Deploy Node.js to VPS using Github Actions

Steps to deploy Node.js to VPS using PM2 and Github Actions

1. Clone repo to VPS folder

@kiwiyou
kiwiyou / baeggro.js
Last active January 14, 2022 13:36
Baekjoon Online Judge Status Offender
// ==UserScript==
// @name Baeggro - BOJ Result Offender
// @match https://www.acmicpc.net/status*
// @grant none
// @version 4.0
// @author kiwiyou <kiwiyou.dev@gmail.com>, RanolP <public.ranolp@gmail.com>
// @downloadURL https://gist.githubusercontent.com/kiwiyou/ffb8beab11cbc64cb696639fd0c984c7/raw/baeggro.js
// @updateURL https://gist.githubusercontent.com/kiwiyou/ffb8beab11cbc64cb696639fd0c984c7/raw/baeggro.js
// ==/UserScript==
@RanolP
RanolP / rust_ps_input.rs
Last active July 10, 2020 04:33
Easier input processing in Rust when Problem Solving
//! This is free and unencumbered software released into the public domain.
//!
//! Anyone is free to copy, modify, publish, use, compile, sell, or
//! distribute this software, either in source code form or as a compiled
//! binary, for any purpose, commercial or non-commercial, and by any
//! means.
//!
//! In jurisdictions that recognize copyright laws, the author or authors
//! of this software dedicate any and all copyright interest in the
//! software to the public domain. We make this dedication for the benefit
@curioustorvald
curioustorvald / my-little-streamer-bot.md
Last active September 29, 2024 13:45
How to record twitch live streaming PROPERLY

μ†‘μΆœμ΄ λΆˆμ•ˆμ •ν•œ 슀트리머의 방솑을 μ΅œμ†Œν•œμ˜ λ”œλ ˆμ΄λ‘œ λ…Ήν™”ν•˜λ„λ‘ λ§Œλ“€μ–΄μ§„ λ…Ήν™” μŠ€ν¬λ¦½νŠΈμž…λ‹ˆλ‹€. ν˜ΈμŠ€νŒ… 채널을 λ…Ήν™”ν•˜μ§€ μ•Šκ³ , TSνŒŒμΌμ„ 직접 μ €μž₯ν•©λ‹ˆλ‹€.

이 μŠ€ν¬λ¦½νŠΈλŠ” 24/7 μƒμ‹œκ°μ‹œ 및 λ…Ήν™”λ₯Ό μœ„ν•΄ μ€€λΉ„λœ 슀크립트이고 μ„€μ • κ³Όμ •μ—μ„œ μ•½κ°„μ˜ ν”„λ‘œκ·Έλž˜λ°μ  지식이 ν•„μš”ν•©λ‹ˆλ‹€. 단타성 λ…Ήν™”λ₯Ό μ›ν•œλ‹€λ©΄ 더 λ‹¨μˆœν•œ κ±° μ°Ύμ•„λ‹€ μ“°μ‹­μ‡Ό.

μΉ˜μ§€μ§μš© 슀크립트λ₯Ό ν…ŒμŠ€νŠΈν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€. μ—¬λŸ¬λΆ„μ˜ λ§Žμ€ κΈ°μ—¬κ°€ ν•„μš”ν•©λ‹ˆλ‹€ πŸ™πŸ™

μ„ΈνŒ…ν•˜κΈ° 전에

μœˆλ„μ—μ„œλ„ μž‘λ™μ€ ν•˜κ² μ§€λ§Œ, μ§„μ§œ 봇을 κ΅¬μΆ•ν•˜λ €λ©΄ 이 κΈ€μ˜ μž‘μ„±μžλŠ” λ¦¬λˆ…μŠ€λ₯Ό μ‚¬μš©ν•˜λŠ” κ±Έ μΆ”μ²œν•©λ‹ˆλ‹€. λ¦¬λˆ…μŠ€λ₯Ό μ“°λŠ” μ΄μœ λŠ”, 적어도 μ–˜λŠ” μ—…λ°μ΄νŠΈ μžˆλ‹€κ³  μ§€λ©‹λŒ€λ‘œ μž¬λΆ€νŒ…ν•˜μ§€λŠ” μ•ŠμœΌλ‹ˆκΉŒμš” (λŒ€μΆ© νŠΈμœ„μΉ˜ 카파 콘)

@amelandri
amelandri / notablesync.bat
Created October 30, 2019 09:20
Notable auto sync
@echo off
for /f "tokens=1-4 delims=/ " %%i in ("%date%") do (
set day=%%i
set month=%%j
set year=%%k
)
for /f "tokens=1-4 delims=: " %%i in ("%time%") do (
set hour=%%i
@edmundsmith
edmundsmith / writeup.md
Created July 7, 2019 20:47
Method for Emulating Higher-Kinded Types in Rust

Method for Emulating Higher-Kinded Types in Rust

Intro

I've been fiddling about with an idea lately, looking at how higher-kinded types can be represented in such a way that we can reason with them in Rust here and now, without having to wait a couple years for what would be a significant change to the language and compiler.

There have been multiple discussions on introducing higher-ranked polymorphism into Rust, using Haskell-style Higher-Kinded Types (HKTs) or Scala-looking Generalised Associated Types (GATs). The benefit of higher-ranked polymorphism is to allow higher-level, richer abstractions and pattern expression than just the rank-1 polymorphism we have today.

As an example, currently we can express this type:

@serithemage
serithemage / aws-study-resource.md
Last active October 4, 2025 21:25
AWS ν•™μŠ΅ μžλ£Œμ§‘

AWS ν•™μŠ΅ 링크집 μ‹œλ¦¬μ¦ˆ