Karnsonline
  • Home
  • Coding
  • Photography
  • Astrophotography
  • Spotify Periodic Rotator
  • Spotify Periodic Rotator (Archive)

osx

A collection of 2 posts
Git diff hide package-lock files
git

Git diff hide package-lock files

Do you really need to see a billion lines of diff in a package-lock.json file? I know I rarely benefit from seeing the diff. Wouldn't it be great if those were just collapsed when you run git diff in the terminal? Lets make it happen.
Dec 5, 2024 1 min read
osx

OS X Sceenshot Directory

Tired of a cluttered desktop? Yeah me too. Execute the following command in your terminal and your screenshots will be stored out of the way in your Documents/Screenshots directory. mkdir -p ~/Documents/Screenshots && defaults write com.apple.screencapture location ~/Documents/Screenshots && killall SystemUIServer Command Breakdown
Apr 24, 2017
Page 1 of 1
Karnsonline © 2025
Powered by Ghost