Skip to content

Instantly share code, notes, and snippets.

@misuchiru03
misuchiru03 / reverse-proxy
Last active April 29, 2019 03:54
Nginx Reverse Proxy with Plex and Deluge subdomains
# Plex Server
upstream plex.domain.org {
server 127.0.0.1:32400;
keepalive 32;
}
server {
listen 443;
@misuchiru03
misuchiru03 / plex-install.sh
Last active May 1, 2020 17:04
Plex Media Server installer for Void Linux
#!/bin/sh
if [ $(id -u) -ne 0 ]; then
echo "You must be root to run this."
exit 0
fi
missing=0
for pkg in wget curl rsync ar; do
echo -n "Checking for $pkg..."
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.15.0-20-generic Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
--- x86_64-dotconfig-sorted 2018-05-19 18:10:51.004855152 +0000
+++ config-4.15.0-20-generic-sorted 2018-05-19 18:10:40.030286041 +0000
@@ -316,6 +316,69 @@
+
+
+
+
@misuchiru03
misuchiru03 / msfvupdate
Last active February 1, 2021 06:09 — forked from abenson/msfvupdate
Short script to install/update Metasploit on Void Linux
#!/bin/sh
# root check
if [ `id -u` != "0" ]; then
echo "This should be run as root."
exit
fi
# Dependency check for curl and rsync
missing=0
@misuchiru03
misuchiru03 / vmware-void-fix
Last active July 13, 2023 08:17
Fix for vmware installs on voidlinux runit and vmmon module
#!/bin/bash
# must run as root
if [ $UID != 0 ]; then
echo "You must be root."
exit 0
fi
# soft link vmware's init.d scripts to void's runit directory
ln -s /etc/init.d/vmware* /etc/runit/