Skip to content

Instantly share code, notes, and snippets.

@hyunbinseo
Last active April 14, 2025 01:01
Show Gist options
  • Save hyunbinseo/6ace7f506ac9a15791ebc290beec3d4b to your computer and use it in GitHub Desktop.
Save hyunbinseo/6ace7f506ac9a15791ebc290beec3d4b to your computer and use it in GitHub Desktop.
Frequently Used Commands
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

update git commit timestamp

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')"

search binary files with regex

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment