Skip to content

Instantly share code, notes, and snippets.

View ynx0's full-sized avatar
⚗️
the proof is in the poly

Yaseen ynx0

⚗️
the proof is in the poly
View GitHub Profile
@ynx0
ynx0 / pandoc.css
Created September 6, 2023 01:17 — forked from killercup/pandoc.css
Add this to your Pandoc HTML documents using `--css pandoc.css` to make them look more awesome. (Tested with Markdown and LaTeX.)
/*
* I add this to html files generated with pandoc.
*/
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
@ynx0
ynx0 / AesCrypt.py
Created June 26, 2017 21:21 — forked from pfote/AesCrypt.py
AES256 with PKCS5 padding
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from Crypto.Cipher import AES
import base64
import random
import hashlib
import os
class AesCrypt256: