Apple Notes for code snippets without the “smart quotes” mangling: the System Settings change that fixes it once
You paste a Bash one-liner into Apple Notes for safekeeping. An hour later you copy it back, paste into Terminal, hit Enter, and bash blows up: command not found: 'curl'. The reason: Apple Notes silently turned your straight quotes …