Skip to content

Instantly share code, notes, and snippets.

@Suhas-G
Suhas-G / Deploying Django with Gunicorn, Nginx and MySQL on Ubuntu 18.04.md
Last active September 9, 2024 19:00
Deploying Django with Gunicorn, Nginx and MySQL on Ubuntu 18.04

Deploying Django with Gunicorn, Nginx and MySQl on Ubuntu 18.04

Setting up software

  1. Update ubuntu software repository
  2. Install
    1. nginx - Serve our website
    2. mysql-server and libmysqlclient-dev - For database
    3. Python 3
  3. ufw - Firewall for our system
@Useems
Useems / index.ts
Created February 21, 2024 12:40
Facebook NodeJS encpass implementation
// @ts-ignore
import { default as nacl } from 'tweetnacl-sealedbox-js';
import { webcrypto } from 'crypto';
function decodeUTF8(str: string): Uint8Array {
if (typeof str !== "string")
throw new TypeError("expected string");
return new Uint8Array(unescape(encodeURIComponent(str)).split("").map(char => char.charCodeAt(0)));
}
@user29042001
user29042001 / _deobfuscating-unminifying-obfuscated-web-app-code.md
Created September 1, 2024 07:33 — forked from 0xdevalias/_deobfuscating-unminifying-obfuscated-web-app-code.md
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code