Skip to content

Instantly share code, notes, and snippets.

View bash's full-sized avatar

Tau Gärtli bash

View GitHub Profile
@bash
bash / url_extractor.py
Created February 7, 2018 19:19
URL Extractor
import re
from urllib.parse import urlparse
from typing import Generator, Tuple
BRACKETS = [
('(', ')'),
('[', ']'),
('{', '}'),
('<', '>'),
]
@bash
bash / guide.md
Last active March 11, 2024 11:31
A Hitchhiker's Guide to MSBuild, the .NET SDK, and Everything
@bash
bash / readme.md
Created January 9, 2024 19:22
Renew Let's Encrypt Certs with Certbot and Podman

1. Configure Nginx

We first create an include file that we'll share between all the domains in /etc/nginx/conf.d/acme:

# Allow access to the ACME Challenge for Let's Encrypt
location ^~ /.well-known/acme-challenge {
    allow all;
    alias /usr/share/nginx/html/.well-known/acme-challenge;
}