Skip to content

Instantly share code, notes, and snippets.

@bennlee
bennlee / fix-input-source-switching-delay-in-m1-macbook.md
Last active February 1, 2026 12:21
M1 맥에서 한영키 전환 딜레이 해결하기

M1 맥북에서 한영키 전환 딜레이 해결하기

맥에서 Caps Lock을 한/영 전환키로 사용하면서부터 딜레이가 생기거나, 제대로 바뀌지 않는 고질적인 문제가 꾸준히 발생해왔다. 대소문자를 고정하는 Caps Lock기능과 한/영 전환 기능을 누른 시간에 기반하여 구분하는 과정에서 생긴 문제로 추정되지만, Caps Lock기능을 해제해도 여전히 문제가 발생한다. 이에 사용자들은 karabiner-elements등의 편법을 통해 Caps Lock키를 실제로 사용하지 않는 F18등의 키로 매핑하여 해결해 왔다.

하지만, Apple Silicon을 탑재한 기기들에서는 다음과 같은 문제가 있다.

  • karabiner-elements가 제대로 지원되지 않는 이슈가 있어 hammerspoon등의 차선책을 사용해야한다.
  • M1 이전까지의 맥과는 다르게 키매핑만으로 문제가 완전히 해결되지 않는다.
@lopspower
lopspower / README.md
Last active February 1, 2026 12:18
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@patyearone
patyearone / final-review-gist.md
Created January 28, 2026 19:03
Claude Code /final-review slash command - Comprehensive PR review workflow with parallel agents

Final Review - Comprehensive PR Review & Testing

Step 0: Determine Review Pass

Before starting, check the git history to determine if this is a follow-up review:

git log --oneline -10 | grep -i "Co-Authored-By: Claude"
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active February 1, 2026 12:16
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@ZhuoyunZhong
ZhuoyunZhong / 01_Overview.md
Last active February 1, 2026 12:16
Include only parts of others' repository as submodule in your project and arrange them to desired locations.

This gist provides an example of how to only include parts of others' repository as submodule in your project.

What is more, it will also show how to "put" the folders of submodule to desired location (e.g. under your project's root), without breaking the submodule.

Consider we have a repository

Simulation

  • README.md

There is one another repository we want to use, but only the algorithm folder is needed.

@oculusgrift
oculusgrift / 1-kindle-force-enable-screensaver.lua
Created July 12, 2025 18:43
KOReader user patch to always enable Gear -> Screen -> Sleep Screen screen saver configuration on any Kindle.
-- 1-kindle-force-enable-screensaver.lua
--
-- This overrides the device configuration for Kindles to always indicate it
-- supports a screensaver.
--
-- To use, create a patches folder in the KOReader directory, place the patch
-- there, and restart KOReader.
--
-- For example, on a Kindle PW4 it should be placed here:
-- /mnt/us/koreader/patches/1-kindle-force-enable-screensaver.lua
@Hegghammer
Hegghammer / working_moltbot_ollama_config.md
Created January 29, 2026 14:03
Working Clawdbot/Moltbot setup with local Ollama model

Working Clawdbot/Moltbot setup with local Ollama model

This is a guide to setting up Clawdbot/Moltbot with a local Ollama model that actually works -- meaning it has good tool use and decent speed. The main requirement is 48GB of VRAM. I have yet to find a model that fits on less than this and still works on Moltbot.

The setup involves creating a tool-tuned variant of qwen2.5:72b and modifying a range of configs in Moltbot. At the end you'll get a local Moltbot instance that can use tools (exec, read, write, web search), read skills, and perform agentic tasks without any cloud API dependencies. On my system I get ~16 t/s and have yet to come across a tool/skill that my bot can't use.

Claude Opus wrote the first draft of this Gist, then I (a human) checked and edited it.

Background

@InfamousStarFox
InfamousStarFox / VLC Blu-ray.md
Last active February 1, 2026 12:10
How to play a blu-ray disc in VLC
@omerfsen
omerfsen / nvidia-smi-cheat-sheet.md
Created November 6, 2025 11:58
nvidia-smi cheat sheet

NVIDIA-SMI Comprehensive Cheat Sheet

Overview

nvidia-smi (NVIDIA System Management Interface) is a command-line tool that provides monitoring, management, and diagnostic information for NVIDIA GPU devices.

It communicates directly with the NVIDIA driver and GPU, and can:

  • Monitor GPU performance, temperature, and utilization
  • Manage power, clock speeds, and ECC
  • Control persistence mode and compute modes
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active February 1, 2026 12:09
Conventional Commits Cheatsheet