Skip to content

Instantly share code, notes, and snippets.

Alex shr00mie

  • Los Angeles
View GitHub Profile
@shr00mie
shr00mie / wireguard.sh
Last active Feb 10, 2019
Install WireGuard on Raspbian Stretch Light
View wireguard.sh
#!/bin/bash
#
## -------------------------------=[ Info ]=--------------------------------- ##
#
## -=[ Author ]=------------------------------------------------------------- ##
#
# shr00mie
# 01.10.2019
# v0.2
#
@shr00mie
shr00mie / bind9_slave.sh
Last active Jan 15, 2019
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 / jupyterlab_install.sh
Last active Aug 5, 2018
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 / letsencrypt_esxi.sh
Last active Apr 4, 2019
Let's Encrypt SSL for ESXi
View letsencrypt_esxi.sh
#!/bin/bash
#
## -------------------------------=[ Info ]=--------------------------------- ##
#
# Generate letsencrypt cert on local server and scp to esxi target.
# Designed and tested on Ubuntu 16.04LTS.
# Assumes you have upnp control over local network. Tested with Ubiquiti USG.
#
# Dependencies:
# miniupnpc (sudo apt install miniupnpc)
You can’t perform that action at this time.