https://github.com/pyenv/pyenv
apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git
#!/usr/bin/env bash | |
echo "License: MIT please read https://opensource.org/licenses/MIT" | |
echo "" | |
sleep 5 | |
sudo bash -c "dd if=/dev/nvme0n1 | gzip > /media/name/hdd/hdd-disk.gz" |
import logging | |
logger = logging.getLogger(__name__) | |
def deprecated(notes: str = ""): | |
# https://stackoverflow.com/questions/2536307/decorators-in-the-python-standard-lib-deprecated-specifically | |
# https://stackoverflow.com/questions/5929107/decorators-with-parameters | |
if notes != "": | |
notes = f" " + notes |
https://github.com/pyenv/pyenv
apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git
License: MIT (https://opensource.org/licenses/MIT)
SEE: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
See: https://www.tomshardware.com/uk/reviews/raspberry-pi-headless-setup-how-to,6028.html
apt install gnome-shell-extensions
(pre arcmenu) see: https://gitlab.com/arcmenu/ArcMenu/-/wikis/ArcMenu-Dependenciesapt instal exfat-fuse
<?php | |
declare(strict_types=1); | |
error_reporting(E_ALL); | |
set_error_handler(function ($severity, $message, $file, $line) { | |
if (!(error_reporting() & $severity)) { | |
// This error code is not included in error_reporting | |
return; |
# Some commands I use to fix bluetooth audio issues. | |
# As is where is | |
sudo killall pulseaudio | |
sleep 10 | |
pulseaudio --start |
%F (%a - %b) %T [%Z]
e.g.
2019-08-02 (Fri - Aug) 23:29:10 [BST]
# This was a test, use as is where is (MIT License) | |
# Test of Terraforming a Kubernetes cluster on Digital Ocean with Helm and a basic setup (dashboard and ingress) | |
# I was also push a container in via local Helm that had an image stored in Gitlabs Docker Registry | |
# You need to have the following tools installed (Terraform, Helm, Kubectl) | |
# run `terraform init`, then `terraform apply` | |
# Goto the Digital Ocean dashboard and download the kubeconfig to `/.kube/config` | |
# To access the proxy run `kubectl proxy` and then goto | |
# `http://localhost:8001/api/v1/namespaces/kube-system/services/https:dashboard-kubernetes-dashboard:https/proxy/ | |
# | |
# To get the token, use something like: |