Update: use PowerShell script PythonEmbed4Win.ps1.
The instructions in this gist have some subtle problems and this gist will not be updated.
The instructions in this gist have some subtle problems and this gist will not be updated.
Build, install, and run the latest OpenSSH Server as a systemd service.
#!/usr/bin/env bash | |
# | |
# https://gist.github.com/jtmoon79/c951f81f621bb87ddb60836245aca4ff | |
# | |
# Script to generate a site-to-site Wireguard IPv4 VPN tunnel | |
# configuration files, and commands for systemd services. | |
# This script only covers a narrow scope of possible networking arrangements. | |
# It may not perfectly fit the user's needs, but it may provide the user with | |
# a working example that they can modify for their needs. | |
# |
#!/usr/bin/env bash | |
# | |
# rename pdf files from paperlessemployee.com | |
# | |
set -euo pipefail | |
if [[ ${#} -ne 1 ]] && [[ ${#} -ne 2 ]]; then | |
echo "usage: | |
$(basename "${0}") SelectedPayStatements.pdf [Agency Name] |
#!/usr/bin/env bash | |
# | |
# https://gist.github.com/jtmoon79/217e55272c55631ba6025c9f890b3dde | |
# | |
# Script to generate a client-to-site Wireguard IPv4 VPN tunnel | |
# configuration files, and commands for systemd services. | |
# This script only covers a narrow scope of possible networking arrangements. | |
# It may not perfectly fit the user's needs, but it may provide the user with | |
# a working example that they can modify for their needs. | |
# |
#!/usr/bin/env bash | |
# | |
# run single instance of glances on the system as user glances. | |
# follows from https://gist.github.com/jtmoon79/1b5a806b3e71874542c21b1578156a42 | |
# designed for a Debian-based Linux | |
# | |
# place this file at /var/lib/glances/glances-start.sh | |
# chmod +x /var/lib/glances/glances-start.sh | |
# should look like: | |
# ls -l /var/lib/glances/glances-start.sh |
#!/usr/bin/env bash | |
# | |
# install glances system monitor onto a Debian-based System under user "glances" | |
# https://github.com/nicolargo/glances | |
# | |
# This creates user "glances" (which glances presumes to do) but for the purpose of install the program glances (and the | |
# required libraries) under permissions of user glances. This way, | |
# - glances programs are slightly better contained under user glances permissions | |
# - glances (and related programs) are not added to shared $PATH directories | |
# |
#!/usr/bin/env bash | |
# | |
# helper to quickly create a Python virtualenv | |
# latest at https://github.com/jtmoon79/dotfiles/blob/master/utilities/venv-create.sh | |
set -eu | |
# XXX: not very portable | |
source /etc/os-release |
#!powershell | |
<# | |
.SYNOPSIS | |
Use exiftool to set file system datetimes values to those found within embedded media | |
tags of .mp4 and .jpg files. | |
.DESCRIPTION | |
Use exiftool (https://exiftool.org/) to set file system datetime attributes | |
FileModifyDate, FileAccessDate, FileCreateDate. |