I hereby claim:
- I am rossedman on github.
- I am rossedman (https://keybase.io/rossedman) on keybase.
- I have a public key whose fingerprint is 6712 8DF7 76E3 7227 03EC C55B 1636 1A29 BE1E DAE7
To claim this, I am signing this object:
#!/bin/bash | |
# Installation: | |
# | |
# 1. vim /etc/ssh/sshd_config | |
# PrintMotd no | |
# | |
# 2. vim /etc/pam.d/login | |
# # session optional pam_motd.so | |
# |
# | |
# This needs to be installed here: | |
# /etc/systemd/system/consul.service | |
# | |
[Unit] | |
Description=consul | |
Requires=network-online.target | |
After=network-online.target |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# Use jq to curl down magic cards into individual files to process into DocumentDB in Azure | |
# | |
# List all sets to process | |
SETS=(MPS KLD DDR CN2 V16 EMN EMA SOI W16 DDQ OGW C15 EXP BFZ DDP V15) | |
for i in "${SETS[@]}" | |
do |
#!/bin/bash | |
# this pull and run script on server | |
# bash <(curl -L tiny.cc/rossedman-ssh) | |
mkdir ~/.ssh | |
touch ~/.ssh/authorized_keys | |
chmod 700 ~/.ssh && chmod 600 ~/.ssh/* | |
curl https://github.com/rossedman.keys >> ~/.ssh/authorized_keys | |
echo "rossedman ALL=(ALL) NOPASSWD: ALL" | sudo tee --append /etc/sudoers |
// Simple groupcache example: https://github.com/golang/groupcache | |
// Running 3 instances: | |
// go run groupcache.go -addr=:8080 -pool=http://127.0.0.1:8080,http://127.0.0.1:8081,http://127.0.0.1:8082 | |
// go run groupcache.go -addr=:8081 -pool=http://127.0.0.1:8081,http://127.0.0.1:8080,http://127.0.0.1:8082 | |
// go run groupcache.go -addr=:8082 -pool=http://127.0.0.1:8082,http://127.0.0.1:8080,http://127.0.0.1:8081 | |
// Testing: | |
// curl localhost:8080/color?name=red | |
package main | |
import ( |
#!/bin/bash | |
# | |
# This is meant for setting up a base image in Cubic for homelab | |
# bootstrapping. | |
# | |
# Installing: | |
# apt-get update -y && apt-get install -y curl wget | |
# bash <(curl -L $GIST_URL) | |
# |
{ | |
"ignition": { "version": "2.2.0" }, | |
"passwd": { | |
"users": [ | |
{ | |
"name": "hankhill", | |
} | |
] | |
} | |
} |
Boot from USB Arch Linux drive
[Unit] | |
Description=VSCode server for internal network and vpn | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
TimeoutStartSec=0 | |
Restart=always | |
ExecStartPre=-/usr/bin/docker stop vscode | |
ExecStartPre=-/usr/bin/docker rm vscode |