Thinking In Software
Monday, September 15, 2025
Sanitize JSON: Blank Out Sensitive Content
›
jq ' walk( if type == "string" or type == "number" or type == "boolean" then "" ...
Thursday, August 28, 2025
Extract a portion of a log file based on the starting timestamp
›
If there are multiple matches, this command takes the last start and the first end, which may not be what you want. If that is acceptable, c...
Wednesday, August 27, 2025
pbcopy from linux shell
›
Working across Mac, Windows, and Linux via SSH? Ever wished you could pbcopy from within a remote SSH session? Add this "one-liner...
Monday, August 25, 2025
Sanitize your json config before sharing it
›
jq 'def scrub: if type == "object" then with_entries(.value |= scrub) else empty end; scrub' ...
Thursday, February 20, 2025
ChatCommit: Auto-Generated Git Commit Message Summarizer
›
Friday, January 24, 2025
Remove trailing spaces from file
›
sed -i '' 's/[[:space:]]*$//' my_file_path.ext
Thursday, December 19, 2024
Uninstalling python from windows where no uninstaller can be found
›
1. Find out the exact version installed for the package you want to remove. In this case 3.12: PS > py --list -V:3.13 * Python 3...
›
Home
View web version