Skip to content

Instantly share code, notes, and snippets.

View InsanePrawn's full-sized avatar
🗝️
old keys are best keys

Prawn InsanePrawn

🗝️
old keys are best keys
View GitHub Profile
@InsanePrawn
InsanePrawn / generate_directory_index_caddystyle.py
Last active September 14, 2021 22:41 — forked from glowinthedark/generate_directory_index_caddystyle.py
Generate directory index (recurse subfolders with `-r` or `--recursive`). Use `-h` or `--help` for all options
#!/usr/bin/env python3
# ---
# Copyright 2020 glowinthedark
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
@InsanePrawn
InsanePrawn / he_dns.sh
Created March 16, 2018 13:44
Hurricane Electric DNS Hook script for Dehydrated and Let's Encrypt
#!/bin/bash
### salvaged from some forum and patched by me
url=https://dns.he.net/
# These should be set in .hedns-credentials
login=
password=
zoneid=
# Optionally override these.
@InsanePrawn
InsanePrawn / PKGBUILD
Created September 5, 2016 13:32
gnome-i3-git PKGBUILD
# Maintainer: Patrick Niklaus <patrick.niklaus@student.kit.edu>
# Git Version PKGBUILD by Prawn <insane.prawny@gmail.com>
pkgname=i3-gnome-git
pkgver=5.1.r0.gae82c12
pkgrel=1
pkgdesc="Starts i3 inside a gnome session."
arch=('any')
url="https://github.com/TheMarex/i3-gnome"
license=('MIT')
groups=()
@InsanePrawn
InsanePrawn / container_dhcp.network
Last active March 7, 2024 18:11
block device passthrough into systemd-nspawn for testing the munin smartctl plugin
[Match]
Name=host*
[Network]
DHCP=yes
using System;
using System.IO;
using System.Collections.Generic;
using System.Diagnostics;
namespace foreachfile
{
class MainClass
{
public static void Main(string[] args)