This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To generate mitm cert and key: | |
# openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -passout pass:"third-wheel" -subj "/C=US/ST=private/L=province/O=city/CN=hostname.example.com" | |
# see: https://github.com/campbellC/third-wheel | |
[package] | |
name = "http-ytproxy" | |
version = "0.1.0" | |
edition = "2021" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
############################################################## | |
# Title : build-imagemagick7.sh # | |
# Description : ImageMagick® 7 for Debian/Ubuntu, # | |
# including (nearly) full delegate support. # | |
############################################################## | |
# Make sure, that we are on Debian or Ubuntu | |
if ! lsb_release -d | grep -qE 'Ubuntu|Debian'; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import sys | |
import glob | |
from mutagen.mp3 import MP3 | |
from mutagen.easyid3 import EasyID3 | |
# | |
# MP3 playlist generator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Put into /lib/systemd/system-sleep/suspend-modules | |
# chmod a+x /lib/systemd/system-sleep/suspend-modules | |
# Create /etc/suspend-modules.conf | |
# with one module per line | |
# credits to: | |
# https://bbs.archlinux.org/viewtopic.php?pid=1540125#p1540125 |