This helps you develop react apps through a sub domain secured by ssl through nginx without much hassle. Current config from Laragon on Windows
server {
listen 80;
listen 443 ssl;
curl -X POST -d '{"public":true,"files":{"test.txt":{"content":"String file contents"}}}' -u mgarciaisaia:mypassword https://api.github.com/gists | |
# https://stackoverflow.com/questions/34048241/how-to-create-a-gist-on-command-line |
upstream node_server { | |
server localhost:3000; | |
} | |
server { | |
listen 80; | |
server_name localhost; | |
root /usr/share/nginx/html; |
Disclaimer: Modding the discord client is against Discord's term of service. I'm not responsible if any action is taken against you.
Modding the client will allow you to customize to:
This guide will explain how to inject js code into the discord client and send messages. I'm assuming you know you to write javascript code and are using Windows.
<script> | |
let password = '' | |
const hash = s => | |
s.split('').reduce((a, b) => { | |
a = (a << 5) - a + b.charCodeAt(0) | |
return a & a | |
}, 0) | |
$: console.log(password, hash(password)) |
This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.
wsl --set-default-version 2
in windows command line, so that all future WSL machine will use WSL2.gpg --export [email protected] > my_key.pub
The file can then be shared to other people.
/* | |
This allows you to get your Discord token via the Discord console. | |
Why this method? | |
- Simpler, just copy paste the function and call it, no need to monitor and manually look for headers | |
- More accurate | |
- More visually appealing | |
This code is licensed under The Unlicense. For more information please visit https://unlicense.org/ |
Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.
Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27
If you have any linux machine, use that or install a vm if you don't have one.
Get their official linux app installed. Make sure you have wireguard installed too. And set the used technology to Nordlynx by running nordvpn set technology nordlynx
# Source | |
# Mastering Object-Oriented Python - Second Edition by Steven F. Lott Published by Packt Publishing, 2019 | |
# https://learning.oreilly.com/library/view/mastering-object-oriented-python/9781789531367/c34be237-5ccd-4775-a0b0-ec1f7652f7bc.xhtml | |
# | |
from pathlib import Path | |
# write JSON files: | |
with Path("temp.json").open("w", encoding="UTF-8") as target: | |
json.dump(travel3, target, default=blog_j2_encode) |