Full screen is super annoying on OS X lately. I use SizeUp which gives me a shortcut for expanding the windows instead of using the green button but i’m still having random encounters with full screen mode because of the shortcut ctrl+shift+f. So here’s how to disable that..or at least make it harder to do by accident:
# Change full screen shortcut to Shift + Ctrl + Opt + Cmd + F
defaults write -g NSUserKeyEquivalents -dict-add "Enter Full Screen" "$~^@F"