# clone
cd ~/Downloads
git clone https://gist.github.com/d76520b1bfa66713a5e27ead5e2c4e93.git archive
# create local bin directory
mkdir -p ~/.local/bin
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 | |
| # SOURCE: https://github.com/pythoninthegrass/m3u_prsr | |
| import sys | |
| class track(): | |
| def __init__(self, length, title, path): | |
| self.length = length |
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 bash | |
| # shellcheck disable=SC2046,SC2086,SC2164 | |
| cat << 'DESCRIPTION' >/dev/null | |
| compile_python.sh compiles and installs a specific version of Python from source. | |
| USAGE | |
| ./compile_python.sh "<version>" |
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.11 | |
| import sys | |
| """ | |
| Convert Imperial Credits to US Dollars and vice versa. | |
| Based on the exchange rate of 4.50 Imperial Credits to 1 US Dollar. | |
| cf: |
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 bash | |
| # SOURCE: https://discussion.fedoraproject.org/t/78971/7 | |
| sudo dnf -y install gnome-remote-desktop | |
| read -s -p "VNC Password: " VNC_PASSWD | |
| grdctl vnc enable | |
| grdctl vnc disable-view-only | |
| grdctl vnc set-auth-method password | |
| grdctl vnc set-password "${VNC_PASSWD::8}" |
This document aims to explain all the necessary steps to self-sign a Windows executable.
⚠️ Warning
Some of the commands provided need to be completed. The fields to complete are indicated by the characters<and>.
Please make sure to match all the prerequisite before starting the process of signing the package.
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
| #cloud-config | |
| output: {all: '| tee -a /var/log/cloud-init.log'} # store logs inside vm | |
| timezone: "America/Chicago" | |
| hostname: ubuntu | |
| package_update: true | |
| package_upgrade: true |
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
| #### | |
| # Specify the OS you want to run the Docker container in | |
| # For the latest version of Ubuntu, use: | |
| # FROM ubuntu:latest | |
| # Learn more about this Ubuntu image, and versions (tags): | |
| # https://hub.docker.com/_/ubuntu | |
| #### | |
| FROM ubuntu:22.04 | |
| ##### |
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
| # /etc/dnf/automatic.conf | |
| # SOURCE: https://www.ctrl.blog/entry/how-to-dnf-automatic.html | |
| [commands] | |
| # What kind of upgrade to perform: | |
| # default = all available upgrades | |
| # security = only the security upgrades | |
| upgrade_type = security | |
| random_sleep = 0 |