Are there any meetups in your city? Start networking. If your a good developers, then there is no need to just join any company for a paycheck. Join the right company.
The key question I ask anyone I interview is "how do you keep current"? Not everyone needs to spend their free time on some open-source project, but a proactive interest in your profession is a requirement IMHO. Get a free account on AWS and/or Google App Engine. Just create something.
Your skills have stagnated over the years. Do not get into this scenario again.