Skip to content

Instantly share code, notes, and snippets.

View qskwood's full-sized avatar

Quinn Wood qskwood

View GitHub Profile
@qskwood
qskwood / Rancher on OVH Managed Kubernetes
Last active October 18, 2021 15:32
Rancher on OVH Managed Kubernetes
This script — along with the supplied YAML files — will set up Rancher on OVH's managed Kubernetes infrastructure complete with a load balancer and an ingress controller configured with Let's Encrypt.
@qskwood
qskwood / vmbr1 up and down
Last active February 16, 2020 03:23
These scripts add and remove IPv4 forwarding and NAT from a Linux bridge while still allowing it to be managed by Proxmox.
Place each file in /etc/network/if-up.d/ or /etc/network/if-down.d/ as appropriate, mark as executable, and name whatever you want.
@qskwood
qskwood / warcprox-warc-generator
Created January 16, 2020 21:39
This script uses wget and warcprox to generate a WARC that can be read by a player like OpenWayback.
#!/bin/bash
if [[ $# -ne 1 ]]; then
echo "Must only have one argument, the URL" >&2
exit 1
fi
if [[ ! -d "/var/spool/openwayback/files2/${2}" ]]; then
mkdir "/var/spool/openwayback/files2/${2}"
fi
@qskwood
qskwood / wget-warc-generator
Last active May 1, 2024 17:21
This script uses wget to generate a WARC that can be read by a player like OpenWayback and places it into a directory. It also handles creation and use of CDX indexes for de-duplication.
#!/bin/bash
if [[ $# -ne 2 ]]; then
echo "Must only have two arguments, the URL and the collection" >&2
exit 1
fi
if [[ ! -d "/var/spool/openwayback/files2/${2}" ]]; then
mkdir "/var/spool/openwayback/files2/${2}"
fi