Skip to content

Instantly share code, notes, and snippets.

@mixergit
mixergit / README.md
Created August 31, 2023 09:51 — forked from marshalhayes/README.md
TLS encryption of Python sockets using the "SSL" module

README.md

Follow these steps before trying to run any code.

  1. First, generate a Certificate Authority (CA).

openssl genrsa -out rootCA.key 2048

  1. Second, self-sign it.
@mixergit
mixergit / netpps.sh
Created June 21, 2022 05:35 — forked from joemiller/netpps.sh
shell: quick linux scripts for showing network bandwidth or packets-per-second
#!/bin/bash
if [ -z "$1" ]; then
echo
echo usage: $0 network-interface
echo
echo e.g. $0 eth0
echo
echo shows packets-per-second