this | is | a | test | table |
---|---|---|---|---|
adsf | adsfa | asdf | asdf | asdf |
+------+-+-+- | ||||
test | a | |||
multiline | table |
+------------+--------------------------------+
#!/usr/bin/env bash | |
for i in *.svg; do echo $i; d=$(echo $i | cut -d'-' -f1); date -d @${d} ; done |
#!/usr/bin/env bash | |
### Small script to get AWS EC2 instance ID from 'kubectl describe node' | |
alias k=kubectl | |
while getopts ":n:" opt; do | |
case ${opt} in | |
n) NODE=${OPTARG} | |
;; |
#!/usr/bin/env bash | |
# sh doesn't support arrays | |
# Helper script that | |
# 1. SSH-es into remote hosts | |
# 1. Runs firewall-cmd on remote hosts to open up ports needed | |
set -e | |
FW_COMMON="--zone=public --permanent" | |
APPLICATION=("192.168.1.169") |
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKjz5T3ofzG7CkWrYaTDSvkLOWMulDhovBf0Ijq0nB+C zeddee@turnip |
# The following command works for downloading when using Git for Windows: | |
# curl -LOf http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore | |
# | |
# Download this file using PowerShell v3 under Windows with the following comand: | |
# Invoke-WebRequest https://gist.githubusercontent.com/kmorcinek/2710267/raw/ -OutFile .gitignore | |
# | |
# or wget: | |
# wget --no-check-certificate http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore | |
# User-specific files |
sudo apt update && sudo apt install wireguard-tools wireguard-dkms resolvconf
sudo dkms autoinstall
sudo dkms status