lsblk -S
zpool list
#!/bin/bash | |
# add-preseed-and-firmware-to-debian: Add non-free firmware and preseed to Debian install media | |
# | |
# Copyright (C) 2016-2017 Hedi Nasr <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
#!/bin/bash | |
## FORSTWOOF UBUNTU PRESEED :: BUILD SCRIPT | |
# Quit on first error | |
set -e | |
# Temporary directory for the build | |
TMP="/var/tmp/ubuntu-build" |
sudo certbot certonly --standalone -d registry.example.com |
#!/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 |
#!/bin/sh | |
# set hostname | |
echo <%= hostname %> > /etc/hostname | |
/etc/init.d/hostname.sh | |
# Set up networking | |
cat > /etc/network/interfaces << EOF | |
# The loopback network interface | |
auto lo |
#!/bin/bash | |
## This gist contains step by step instructions to install cuda v10.0 and cudnn 7.5 in Ubuntu 18.04 | |
## Clean install | |
### If you have previous installation remove it first. | |
sudo apt-get purge nvidia* | |
sudo apt remove nvidia-* | |
sudo rm /etc/apt/sources.list.d/cuda* | |
sudo apt-get autoremove && sudo apt-get autoclean |
Hello! This gist goes with this video, which covers shortcuts and strategies for working with the K8s command line. You can see all of my videos on YouTube at https://adrian.goins.tv.
I use Fish as my shell, but I know that a lot of people are using Bash. Here are two ways to concatenate config files for kubectl
into the KUBECONFIG
environment variable. If you're using zsh
or tcsh
you'll know how to convert these to your shell's format.
You can call these from your shell init file, or if you want to temporarily disable a script, append .bak
or .disabled
to its extension and run the script manually.
You can even hotkey it on something like the Elgato Stream Deck.