WindowResizer is a simple tool that gives you a way to use hotkeys to quickly save and restore different window positions and sizes.
You can find the source code and more details at https://github.com/caoyue/WindowResizer.
If you buy it in the Windows Store, you'll be supporting its development.
However, feel free to download the compiled version or compile it yourself from GitHub.