Board to board connections
I use these with standard headers for stacking boards. I buy the longer ones and cut them to size.

For wire connections between boards I use these connectors with these terminals and these housings. The crimp tool is quite cheap.