Skip to content

Instantly share code, notes, and snippets.

@shr00mie
shr00mie / letsencrypt_esxi.sh
Last active May 13, 2022
Let's Encrypt SSL for ESXi
View letsencrypt_esxi.sh
#!/bin/bash
#
## -----------------------------=[ WARNING ]=-------------------------------- ##
#
# This script is now woefully out of date due to which accounts ESXi allows to
# ssh into the box as well as sticky folders/file flags.
# I've since ported the whole thing to python with a lot of bells and whistles
# and if i get around to making it public, i'll put a link here.
#
## -------------------------------=[ Info ]=--------------------------------- ##
@shr00mie
shr00mie / jupyterlab_install.sh
Last active Jul 20, 2019
Jupyterlab Install + Service on Ubuntu Server 16.04LTS
View jupyterlab_install.sh
#!/bin/bash
# variables
# listening address for jupyter. set to localhost if only accessing locally.
read -p $'\n\e[32mServer static IP address\e[m: ' ipAddress
# Set this either as parent or direct working directory of the project you want to work on.
read -p $'\n\e[32mProject Parent Directory\e[m: ' WorkingDirectory
echo -e "\n...\e[32mGenerating random token\e[m...\n"
@shr00mie
shr00mie / bind9_slave.sh
Last active Dec 27, 2020
BIND9 slave for AD DNS master
View bind9_slave.sh
#!/bin/bash
#
## -------------------------------=[ Info ]=--------------------------------- ##
#
# Inspired by and adapted from:
# /u/rootwyrm
# https://www.reddit.com/r/homelab/comments/3zqg2y/using_bind_linux_as_a_backup_dns_server_to_a/
#
# Successfully tested on:
# - ESXi 6.7 -> Ubuntu Server 18.04
@shr00mie
shr00mie / wireguard.sh
Last active Dec 20, 2020
Install WireGuard on Raspbian Stretch Light
View wireguard.sh
#!/bin/bash
#
## -------------------------------=[ Info ]=--------------------------------- ##
#
## -=[ Author ]=------------------------------------------------------------- ##
#
# shr00mie
# 01.10.2019
# v0.2
#
@shr00mie
shr00mie / unifi_controller_ssl.py
Last active Aug 12, 2021
Convert Let's Encrypt SSL certificate to java keystore for UniFi controller.
View unifi_controller_ssl.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
## -------------------------------=[ Info ]=--------------------------------- ##
#
## -=[ Author ]=------------------------------------------------------------- ##
#
# shr00mie
# 09.22.2019
# v0.2