L-theanine is popular, I take it in a pill but Soylent added it to their coffee product. (Edit: NOS energy drinks also include L-theanine.) Others I've seen around include Bacopa monnieri, choline, Rhodiola rosea. More examples here https://nootrobox.com/full-stack
Been a few years but I ran into a coder that bragged to me about working 14 hours straight - regularly - on Adderall. This was during an interview, yeah I passed on that job for some reason.
Nicotine is best administrated through gum or a transdermal patch. I haven't heard of many people using it in pill form. Nicotine alone is similar to smoking a cigarette, but not identical: cigarettes also contain MAOI inhibitors which have synergistic effects with nicotine.