I've done this with zero lines of code. that compile to the smallest valid windows executable of 0 bites. Take a marker and a straight edge (substituting a homosexual edge will not work) and draw a line on the screen. Now pick up the monitor and rotate it as you desire.
N.B. Using a dry erase marker is very important to avoid damaging the screen during removal.