I've been using the US-intl keyboard layout for a while, as ABTN2 (the standard Brazilian Portuguese) layout treats ' and " as dead keys, which makes programming incredibly annoying for me.
However, US-intl makes accented letters like ã, à and â annoying to type, requiring holding Alt as you press the respective keys.
As a solution, I decided to make a small fork of US-intl that changes ~, ` and ^ to dead keys, while leaving ' and " as non-dead keys (as you can easily type á with Alt+a).
It's nothing major or substantial, but I thought I'd share it in case some other brazilian / portuguese-speaking programmer might need it.
You can find it here: https://github.com/SkyLeite/us-br