Skip to content

Instantly share code, notes, and snippets.

View brostosjoined's full-sized avatar
😑
Troubleshooting

brostos brostosjoined

😑
Troubleshooting
View GitHub Profile
@Frityet
Frityet / README.md
Last active October 31, 2025 06:50
Installing Lua (and wlua!) + Luarocks on native Windows (not WSL)

Installing Lua (and wlua!) + Luarocks on native Windows (not WSL)

This guide will go through the FULL process of installing Lua + MinGW + Luarocks on native Windows. This guide is for those who want to use Lua on Windows without WSL and want everything to work well. By the way, it would be greatly appreciated if anyone wants to make a script that does all of this.

Windows versions

I am only targeting Windows 10/11 in this tutorial, specifically ucrt. If you are using Windows 10/11, ignore this. If you use a different version, you will probably be using msvcrt, so you can skip the steps where I switch Luarocks to ucrt.

Step 1: MinGW

@brostosjoined
brostosjoined / discord_token_getter.py
Last active May 22, 2025 23:10
Get your discord TOKEN using email and password (http.client).
import http.client
import json
login_json = {
"login": None,
"password": None,
"undelete": False,
"login_source": None,
"gift_code_sku_id": None
}
@oculushut
oculushut / downloadEnron.py
Last active April 10, 2023 23:43
Example for using Python to download file
##Python 2
#import urllib
#url = "https://www.cs.cmu.edu/~./enron/enron_mail_20150507.tgz"
#urllib.urlretrieve(url, filename="../enron_mail_20150507.tgz")
#print "download complete!"
##Python 3
import urllib.request
url = "https://www.cs.cmu.edu/~./enron/enron_mail_20150507.tgz"
print ("download start!")