I hereby claim:
- I am koshatul on github.
- I am kosh (https://keybase.io/kosh) on keybase.
- I have a public key ASASVFvb8Yngslnj7PAa1Od5urSVKJN9MpUVYK_U36lr2wo
To claim this, I am signing this object:
| #!/bin/bash | |
| # Print the serial number of your disks with this script | |
| ls /dev/disk/by-id/ata* | sed -e '/-part[0-9]*$/d;s/.*_//' | while read SERIAL; | |
| do | |
| DEVICE=$(readlink -f /dev/disk/by-id/ata*${SERIAL}); | |
| echo ${DEVICE}" "${SERIAL}; | |
| done | sort; |
| #!/bin/sh | |
| # Shell script to install your public key on a remote machine | |
| # Takes the remote machine name as an argument. | |
| # Obviously, the remote machine must accept password authentication, | |
| # or one of the other keys in your ssh-agent, for this to work. | |
| ID_FILE="${HOME}/.ssh/id_rsa.pub" | |
| if [ "-i" = "$1" ]; then |
| #!/bin/bash | |
| ######################################################################################## | |
| ## ssh-copy-id-if-needed | |
| ## | |
| ## Copies specified identity file to specified server | |
| ## | |
| usage() { | |
| echo "usage: $0 [-i [identity_file]] [user@]machine" >&2 | |
| exit 1 |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| set -ex | |
| ## Install Docker on Ubuntu 16.04 (and probably future versions) | |
| ## curl -sSL 'https://gist.githubusercontent.com/koshatul/fa7d71fc38037dbd3094be400f77bf74/raw/docker-install.sh' | /bin/bash /dev/stdin -- | |
| sudo apt-get install -qy --no-install-recommends \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ |
| #!/bin/bash | |
| curl -fsSL https://repo.powerdns.com/CBC8B383-pub.asc | sudo apt-key add - | |
| curl -fsSL https://repo.powerdns.com/FD380FBB-pub.asc | sudo apt-key add - | |
| sudo add-apt-repository "deb [arch=amd64] http://repo.powerdns.com/ubuntu $(lsb_release -cs)-auth-40 main" | |
| sudo add-apt-repository "deb [arch=amd64] http://repo.powerdns.com/ubuntu $(lsb_release -cs)-rec-40 main" | |
| echo "Package: pdns-* | |
| Pin: origin repo.powerdns.com |
| #!/bin/bash | |
| ## Install uCareSystem on Ubuntu 16.04 (and probably future versions) | |
| ## curl -sSL 'https://gist.githubusercontent.com/Koshatul/d70e5a658a034facd05de7ff1a526b62/raw/ucaresystem-install.sh' | /bin/bash | |
| sudo apt-get install -y apt-transport-https software-properties-common | |
| sudo add-apt-repository -y ppa:utappia/stable | |
| sudo apt-get update | |
| sudo apt-get -y install ucaresystem-core |
| #!/bin/bash | |
| set -ex | |
| ## Uninstall portworx on Ubuntu 16.04 (and probably future versions) | |
| ## curl -sSL 'https://gist.githubusercontent.com/koshatul/407c09b2aeff92d2bd59533c4ccec983/raw/uninstall-portworx.sh' | /bin/bash /dev/stdin -- | |
| set +ex | |
| sudo systemctl stop portworx | |
| sudo systemctl disable portworx |
| #!/bin/bash | |
| set -ex | |
| ## Install Pagerduty Agent on Ubuntu 16.04 (and probably future versions) | |
| ## curl -sSL 'https://gist.githubusercontent.com/koshatul/2aac09cc47447cea8722af34d853f17e/raw/pdagent-install.sh' | /bin/bash /dev/stdin -- | |
| sudo apt-get install -qy --no-install-recommends \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl |
| tell application "Franz" | |
| activate | |
| end tell | |
| tell application "System Events" | |
| keystroke "my-really-long-password-from-1password" | |
| end tell |