If you were a good programmer, really, you shouldn't have too much to worry about.
There are always jobs for programmers, and more all the time. Unless you're at MIT's theoretical labs, code doesn't write it self.
However, in the meantime, as a coder, you should be able to come up with some rather nice shit that people in the online marketing world are into, and BAM you've already got a shitload of potential customers right here, and on other marketing forums, if you can right something decent.
Hell, go after the coveted "idiot" demographic, of people that think they can get rich selling shitty PLR ebooks. Write some sort of script or software that'll do something for them faster, better or cheaper than stuff that's already visibly out there.
One example I can think of is DLGuard. Here's a guy from Queensland that gets fired, and then simply makes a setup to prevent people tunneling into a site and getting at a download file directly. The people over on WarriorForum kiss this guy's arse and pay some pretty decent coin because he's protected their shitty ebooks from being directly downloadable... Something that they could have done if they weren't morons.
As much as we love to bag out a place like WarriorForums around here, there's some good money to be made, and they practically tell you how.
N.B.:: I'm not advocating the use of WarriorForum for anything other than a hunting ground for sales of services and/or products that these idiots could have gotten for themselves if they read a real book instead of buying ebooks off of each other.