Skip to content

Instantly share code, notes, and snippets.

View pyyding's full-sized avatar

Kaspar Püüding pyyding

View GitHub Profile
@MartijnHols
MartijnHols / useDocumentHeight.ts
Last active March 20, 2025 17:14
React hooks for getting the document height that updates when the On Screen Keyboard/Virtual Keyboard toggles
The latest version is available at https://martijnhols.nl/gists/how-to-get-document-height-ios-safari-osk
@gmoraiz
gmoraiz / rm_emulator5562_offline.sh
Last active March 28, 2025 10:14
remove emulator-5562 offline from adb devices
#Native Instruments software uses PORT 5562 ON TCP (NTKDaemon)
#Run CMD as Administrador and write:
netstat -ano | findstr :5563
taskkill /PID <PID> /F
@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active April 22, 2025 20:08
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName