So I think we have to define what level of probability you are looking for. Sure thing? Then maybe consulting. Possible with some follow-up work? Then maybe an app, SaaS, etc. High payout but unlikely? Then some type of gambling - options, crypto, traditional gambling, etc.
Email everyone telling them you have a few weeks free.
You could also call tech recruiters who could potentially place you on a short gig fast. But will naturally take a cut.
Alternatively, I know others made good money doing crypto day trading, but I'd imagine you'd have to know what you're doing.
Commit fraud, launch a phishing campaign, sell drugs, buy bulk SSN and PCI info off the dark web. Hell ransomware a hospital if you’re desperate and have no soul.
Three weeks isn’t really enough time to find legitimate development work unless you have prior contracting relationships with folks who frequently need short term projects outsourced.
It’s a little easier if you have some security skills. Lots of banks or regulated industries get way behind on things like PCI audits and contract out that work close to deadlines.
Meaningful amounts of money require existing resources. It's like losing weight - you have to do it over time.