Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@shr00mie
shr00mie / letsencrypt_esxi.sh
Last active November 26, 2023 18:12
Let's Encrypt SSL for ESXi
#!/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 July 20, 2019 10:41
Jupyterlab Install + Service on Ubuntu Server 16.04LTS
#!/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 October 19, 2023 20:54
BIND9 slave for AD DNS master
#!/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 December 20, 2020 08:30
Install WireGuard on Raspbian Stretch Light
#!/bin/bash
#
## -------------------------------=[ Info ]=--------------------------------- ##
#
## -=[ Author ]=------------------------------------------------------------- ##
#
# shr00mie
# 01.10.2019
# v0.2
#
@shr00mie
shr00mie / unifi_controller_ssl.py
Last active August 12, 2021 10:09
Convert Let's Encrypt SSL certificate to java keystore for UniFi controller.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
## -------------------------------=[ Info ]=--------------------------------- ##
#
## -=[ Author ]=------------------------------------------------------------- ##
#
# shr00mie
# 09.22.2019
# v0.2
@shr00mie
shr00mie / build_ffmpeg.sh
Last active January 4, 2024 06:38
FFMPEG - Build from Source - Ubuntu 22.04 - Non-CUDA
#!/bin/bash
PROCS=$(($nproc/2))
sudo apt-get update -qq && sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git-core \