Most of note taking happens at work. I tried local plain text notes, then stuck with confluence for some time. Confluence is slow and resists a lot.
OneNote is what I have end up with for now. Every page in one note is like a whiteboard where you can put anything anywhere. I sometimes store screenshots of code snippets. Sometimes even full files. Use it for small temporary todo lists. OneNote is a great place for putting down random info as quickly as possible.
Not worrying about how and where to put your thoughts down is very very important. Thoughts get lost in the process otherwise.