Shoulders back, head up! :)
Do yoga. This trains you to press your shoulder blades together and down you back. Instant straight spine.
Also watch how you work (as I am hunched over the computer right now...) If you have a laptop, make sure it is eye level most the time so you have your head up.