Skip to content

Instantly share code, notes, and snippets.

View jonathanvanschenck's full-sized avatar

Jonathan D B Van Schenck jonathanvanschenck

View GitHub Profile
@jonathanvanschenck
jonathanvanschenck / npm_login.sh
Created April 20, 2024 03:23
Scriptably log into a private verdaccio npm registry
#!/bin/sh
usage() {
echo ""
echo "Log into a private verdaccio npm registry"
echo ""
echo " Usage: npm_login.sh [OPTIONS] [REQUIRED]"
echo ""
echo "REQUIRED"
echo " --username : Your username"
@jonathanvanschenck
jonathanvanschenck / default.conf
Created March 2, 2022 22:12
Certbot webroot with docker
# nginx configuration
server {
listen 80;
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
}
...