I've been in this position and for me the motivation to keep pressing on came from still staying out there and at least hanging out and talking with like-minded friends in the tech space. Without that my tendency would be to wallow and do nothing. With that being said... lots of people are hiring -- share a resume!