Skip to content

Instantly share code, notes, and snippets.

View roboyoshi's full-sized avatar

roboyoshi

View GitHub Profile
@roboyoshi
roboyoshi / linode-wg.sh
Created October 31, 2018 17:38
Almost automated WireGuard Setup for Linode Debian Stretch
# + -------------------------
# | Linode Nanode WireGuard
# | Debian 9 Stretch
# + -------------------------
# + ---------------------------------------------------------------------------------------------------------
# | Server Config
# + ---------------------------------------------------------------------------------------------------------
# General:
@roboyoshi
roboyoshi / bookFix.py
Created January 22, 2018 16:28
remove watermark from wowebooks (fuck those guys)
import os
from PyPDF2 import PdfFileReader, PdfFileWriter
from PyPDF2.generic import NameObject, NullObject
"""
This Script overwrites the Watermark which is embedded as a Form on each page with a NullObject
Requires PyPDF2 (> python -m pip install pypdf2)
"""
def remove_wow_watermark(inputFile):
# Single Disk Setup !
# OpenZFS on OSX Version 1.30
# Download: https://openzfsonosx.org/wiki/Downloads
# -------------------------------------------------
# Sources:
# https://openzfsonosx.org/wiki/zpool
# -------------------------------------------------
diskutil list
echo "Disk = disk#"