Skip to content

Instantly share code, notes, and snippets.

View cebem1nt's full-sized avatar
:bowtie:
I enjoy

Mint cebem1nt

:bowtie:
I enjoy
  • 11:54 (UTC -03:00)
View GitHub Profile
@themagicalmammal
themagicalmammal / Optimizations_Artix.md
Last active December 7, 2025 01:14
Set of optimizations, I use on my Artix Setup
@akvadrako
akvadrako / pty-demo.c
Last active November 9, 2025 16:57
Linux pseudo TTY example
/**
* gcc -o pty-demo pty-demo.c
* pty-demo bash
*/
#define _XOPEN_SOURCE 600 /* Single UNIX Specification, Version 3 */
#include <fcntl.h>
#include <errno.h>
#include <stdio.h> /* for convenience */
@steven2358
steven2358 / ffmpeg.md
Last active December 25, 2025 16:52
FFmpeg cheat sheet
@mostafabahri
mostafabahri / decrypt.py
Last active December 7, 2025 12:01
Fernet encryption example with password
#!/usr/bin/env python3
from cryptography.fernet import Fernet
from kdf import derive_key
passphrase = b"hunter2"
f = Fernet(derive_key(passphrase))
with open('encrypted.txt', 'rb') as file:
encrypted = file.read() # binary read