Skip to content

Instantly share code, notes, and snippets.

View tae0y's full-sized avatar

ParkTaeYoung tae0y

View GitHub Profile
@tae0y
tae0y / microgpt.py
Created February 14, 2026 06:58 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@tae0y
tae0y / .zshrc
Created February 13, 2026 08:25
~/.zshrc
export ZSH="$HOME/.oh-my-zsh"
export HOMEBREW_NO_AUTO_UPDATE=1
ZSH_THEME="agnoster"
source $ZSH/oh-my-zsh.sh
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
prompt_context() {
@tae0y
tae0y / .tmux.conf
Created February 13, 2026 08:19
~/.tmux.conf
# Change Prefix from [Ctrl + b] to [Ctrl + a]
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Enable Mouse mode
set -g mouse on
# Bind Copy and Paste
# to clipboard
@tae0y
tae0y / nowissues.ps1
Last active November 11, 2024 12:03 — forked from aj-stein-nist/export_gh_issue_list.sh
깃허브 이슈 자동 문서화
########################################################################################################################
# 스크립트 구조
# 가. 함수 정의부
# 나. 함수 호출부
#
#
########################################################################################################################
# 가. 함수 정의부
@tae0y
tae0y / catchup-changes-with-ollama.ps1
Last active September 11, 2024 06:56
커밋간 변경사항 요약
#*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*#
# [사전요구사항]
# 1) Powershell 설치방법
# - Windows
# PowerShell은 Windows 10 이상에서 기본적으로 설치되어 있습니다.
#
# - MacOS
# 맙소사! MacOS에서도 PowerShell을 사용할 수 있습니다.
# brew install powershell/tap/powershell
@tae0y
tae0y / add_to_zshrc.sh
Created August 29, 2024 11:08 — forked from haje01/add_to_zshrc.sh
Git Commit Message AI
# -----------------------------------------------------------------------------
# AI-powered Git Commit Function
# Copy paste this gist into your ~/.bashrc or ~/.zshrc to gain the `gcm` command. It:
# 1) gets the current staged changed diff
# 2) sends them to an LLM to write the git commit message
# 3) allows you to easily accept, edit, regenerate, cancel
# But - just read and edit the code however you like
# the `llm` CLI util is awesome, can get it here: https://llm.datasette.io/en/stable/
gcm() {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tae0y
tae0y / 240713-dbpia-api.ipynb
Last active July 17, 2024 10:16
240713 DBpia API 사용한 초록 요약 및 군집화.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tae0y
tae0y / -ai-cop_shared-3-ostgresql_embed_openai_ver1-00-ipynb.ipynb
Last active June 22, 2024 06:30
[AI CoP_shared] 3주차 ostgresql_embed_openAI_ver1.00.ipynb의 사본
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.