productivity


Nov. 29, 2025

Clean URL Parameters with Bookmarklet

What I Learned When sharing URLs with others, query parameters and fragments can make URLs long and include unnecessary information. I used to manually delete them, but by combining a bookmarklet with Chrome’s search engine feature, I can now clean URLs using only keyboard shortcuts. Details Background While browsing the web, URLs often have parameters like ?utm_source=... or #section. There are many situations where you want to remove these and have a simple URL, but manually deleting them is tedious.

Nov. 5, 2025

Git Rebase Interactive

What I Learned Git’s interactive rebase (git rebase -i) is a powerful tool for cleaning up commit history before pushing changes. It allows you to reorder, squash, edit, or remove commits. Details Interactive rebase opens an editor with a list of commits and commands: 1git rebase -i HEAD~3 Available commands: pick - use commit as-is reword - change commit message edit - stop for amending squash - combine with previous commit fixup - like squash but discard commit message drop - remove commit Example workflow: