Many modern, enforceable (even in Cali) non-competes have a clause that provides you full salary/benefits in exchange for not working for any competing firm during that period. Pretty sweet deal for hacking projects you never got around to -- I've seen several folks in finance basically just go dark and hack on the beach for 6mo-1yr before returning to the field.