I hereby claim:
- I am mslinn on github.
- I am mslinn (https://keybase.io/mslinn) on keybase.
- I have a public key whose fingerprint is C314 2D6F A505 33FD 58BF 4D37 9A49 B9E4 11A7 3386
To claim this, I am signing this object:
#!/bin/bash | |
# Author: Mike Slinn [email protected] | |
# Modified from AWS version (dynameicDnsAws) 2022-06-30 | |
# Added auth subdomain 2022-08-18 | |
# See https://www.namecheap.com/support/knowledgebase/article.aspx/36/11/how-do-i-start-using-dynamic-dns/ | |
export SAVE_FILE_NAME="$HOME/.dynamicDns" | |
function help { |
I hereby claim:
To claim this, I am signing this object:
/tmp/ruby-build.20220428104457.2389.OeOKU9 /var/sitesUbuntu/www.mslinn.com | |
/tmp/ruby-build.20220428104457.2389.OeOKU9/ruby-2.7.6 /tmp/ruby-build.20220428104457.2389.OeOKU9 /var/sitesUbuntu/www.mslinn.com | |
checking for ruby... /home/mslinn/.rbenv/shims/ruby | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... x86_64-pc-linux-gnu | |
checking target system type... x86_64-pc-linux-gnu | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... |
#!/bin/bash | |
set -e | |
# Commit changes, the comment does not matter, we are iterating over many files | |
function commit { | |
git add -A | |
git commit -m - | |
git push | |
} |
#!/bin/bash | |
function help { | |
echo "$(basename $0) - Trim an audio or video file using ffmpeg | |
Works with all formats supported by ffmpeg. | |
Seeks to the nearest frame positions by re-encoding. | |
Does not overwrite pre-existing output files. | |
Reduces file size procduced by OBS Studio by >80%. | |
Usage: |
#!/bin/bash | |
if [ $# != 1 ]; then | |
echo "Usage: $(basename $0) filename" | |
echo " If filename is not found in the current directory then subdirectories are searched" | |
echo " The file is then edited in Notepad++" | |
echo "Assumes 64-bit version of Notepad++ is installed in the default location." | |
exit -1 | |
fi | |
if [ -f "$1" ]; then |
#!/bin/bash | |
function help { | |
echo "Edit WSL files or directories in atom, on Windows. | |
Usage: | |
$( basename $0 ) [ FILE_OR_DIRECTORY | -l PHRASE ] ... | |
FILE_OR_DIRECTORY can either be absolute or relative to the current directory. | |
If no arguments are specified, the current directory is assumed. |
# See https://help.ubuntu.com/community/HirsuteUpgrades | |
sudo apt install update-manager-core update-manager | |
sudo cp /etc/apt/sources.list{,.groovy} | |
sudo sed -i 's/groovy/hirsute/g' /etc/apt/sources.list | |
sudo perl -pi -e 's/^Prompt=.*/Prompt=normal/' /etc/update-manager/release-upgrades | |
sudo RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 do-release-upgrade |
# Log into your Ubuntu machine then follow these directions | |
# First allow Cloud9 to ssh to your machine using your account: | |
# https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment-ssh.html | |
# Install required dependencies | |
if [ -z `which virtualenv` ]; then | |
sudo pip install virtualenv | |
fi | |
if [ -z `apt -qq list libevent-dev 2> /dev/null | grep installed` ]; then |
#!/usr/bin/env python3 | |
# Python3 version of https://askubuntu.com/a/878335/58760 | |
# | |
# See https://github.com/sorend/sshconf | |
# | |
# pip3 install sshconf | |
from __future__ import print_function | |
import shutil, subprocess, sys |