Skip to content

Instantly share code, notes, and snippets.

View fluffy-kaiju's full-sized avatar
🐺
cOwOding like a H@ck€r 👉👈

Fluffy_Kaiju fluffy-kaiju

🐺
cOwOding like a H@ck€r 👉👈
View GitHub Profile
@fardjad
fardjad / considerations-for-running-postgres-on-nfs.md
Last active July 22, 2025 21:04
[Considerations for Running Postgres on NFS] Considerations for running a Postgres database on an NFS share #blog #postgres #nfs #fsync #fsexport #mount

Considerations for Running Postgres on NFS

Background

Over the weekend, I decided to try running a Postgres database in my Homelab. In my current setup, the most convenient option for storage is NFS. However, NFS is especially tricky for databases. A misconfigured setup can lead to performance or data corruption issues.

After watching

@amunchet
amunchet / noVNCCopyPasteProxmox.user.js
Last active September 2, 2025 09:54
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@RabaDabaDoba
RabaDabaDoba / ANSI-color-codes.h
Last active September 2, 2025 14:56 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes working in C!
/*
* This is free and unencumbered software released into the public domain.
*
* For more information, please refer to <https://unlicense.org>
*/
//Regular text
#define BLK "\e[0;30m"
#define RED "\e[0;31m"
#define GRN "\e[0;32m"
@lukehedger
lukehedger / ffmpeg-compress-mp4
Last active August 27, 2025 23:42
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4