This file contains 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 | |
set -o errexit | |
clear | |
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n" | |
### HOW TO USE | |
### Pre-req: | |
### - run on a Proxmox 6 server | |
### - a dhcp server should be active on vmbr1 |
This file contains 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
# | |
# Makefile for managing zone updates | |
# | |
# Dependencies: | |
# mkrdns - https://github.com/jdkelleher/mkrdns | |
# zsu - https://metacpan.org/pod/release/AZS/zsu-1.20/zsu | |
# | |
BASE_DIR=/etc/bind/primary |
This file contains 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
# Disable and clear motd news | |
# | |
disable motd news update: | |
file.comment: | |
- name: /etc/default/motd-news | |
- regex: '^ENABLED.*$' | |
- char: '#' | |
- backup: False | |
clear motd news cache: |
This file contains 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
for d in Season* ; do cd "$d"; for x in *[^.]???.srt ; do newname=`basename -s .srt "$x"`; mv "$x" "$newname".eng.srt; done; cd ..; done |
This file contains 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 | |
# Depends on shntools and cuetools for utilities and other packages for some codecs | |
# sudo add-apt-repository ppa:flacon/ppa ; sudo apt-get update | |
# sudo aptitude install cuetools shntool flac flacon wavpack | |
# | |
# TODO... | |
# add usage message | |
# add options |