Skip to content

Instantly share code, notes, and snippets.

@hyunbinseo
Last active March 21, 2026 02:26
Show Gist options
  • Select an option

  • Save hyunbinseo/b26e130928b3fed9189a1e94e592693e to your computer and use it in GitHub Desktop.

Select an option

Save hyunbinseo/b26e130928b3fed9189a1e94e592693e to your computer and use it in GitHub Desktop.
well-known commands
./adb devices # C:\Program Files (x86)\ClockworkMod\Universal Adb Driver
./adb shell settings put system csc_pref_camera_forced_shuttersound_key 0 # disable galaxy shutter sound
pnpm svgo -rf ./ -o ./ # https://github.com/svg/svgo#readme
find . -type f -name "*.mp4" | grep -E "B28|K52" | grep -E "Recording_[0-9]"
Get-ChildItem -Path . -Filter *.mp4 -Recurse -File | Where-Object { $_.Name -match "B28|K52" -and $_.Name -match "Recording_\d" } | Select-Object -ExpandProperty FullName
fnm install 24 # installs the latest version
fnm default 24 # sets the latest version as default
fnm use 24 # (optional) uses the latest version
node -v # v24.9.0
fnm default 24
node -v # v24.10.0
GIT_COMMITTER_DATE="$(date)" git commit --amend --no-edit --date "$(date)"
git commit --amend --no-edit --date="$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')"
git update-index --assume-unchanged <file>
git update-index --no-assume-unchanged <file>
nano .git/info/exclude
magick mogrify -format avif *.png
uv init
uv add gamdl
uv run gamdl
uv tool install 'markitdown[all]'
uvx markitdown input.docx > output.md
const nfd = /[ᄀ-하-ᅵᆨ-ᇂ]/;
screen # Ctrl+A, then D - Detach from current session
screen -ls
screen -r [session_id]
winget upgrade # list
winget upgrade --all
winget upgrade --id Microsoft.PowerToys
winget upgrade --id Microsoft.PowerShell
winget upgrade --id Tailscale.Tailscale
# See https://github.com/tailscale/tailscale/issues/16141
set -e
mkdir -p ./zoom-ro ./zoom-mp4 ./zoom-aac
sudo mount -t cifs "//<ip>/zoom/zoom" "./zoom-ro" -o username="",password="",ro
# 서현빈 (대한초)
# 홍길동 (민국초)
find ./zoom-ro -type f -name "*Recording_as_*.mp4" | grep -E "서현빈 \(대한초\)|홍길동 \(민국초\)" > ./zoom-mp4/paths.txt
xargs -a ./zoom-mp4/paths.txt -I{} cp -n -v {} ./zoom-mp4/
for file in ./zoom-mp4/*.mp4; do
base=$(basename "$file")
ffmpeg -i "$file" -vn -c:a aac "./zoom-aac/${base%.mp4}.aac"
done
croc send ./zoom-aac
sudo umount ./zoom-ro
set -e
mkdir -p ./zoom-rw
sudo mount -t cifs "//<ip>/zoom/zoom" "./zoom-rw" -o username="",password="",file_mode=0777,dir_mode=0777
find ./zoom-rw/2025-* -type f -name "*.mp4" | grep -E "_as|avo|gallery|gvo_" | while read -r file; do rm -v "$file"; done
sudo umount ./zoom-rw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment