All I’ve done is kept my skills current, lived in a place where there are a lot of corporations who need developers, learned how to interview well (not leetCode interviews just general interviewing) and kept a warm network.