Skip to content

Instantly share code, notes, and snippets.

@simar1043
simar1043 / selfhosted-gateway-init.sh
Last active October 18, 2022 06:28
selfhosted-gateway-init.sh
#/bin/bash
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git curl make -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
@simar1043
simar1043 / .bash_profile
Last active August 24, 2020 13:00
bash profile
alias git_sync="git pull -r && git push"
alias ll="ls -lahG"
### Keybase proof
I hereby claim:
* I am simar1043 on github.
* I am simar1043 (https://keybase.io/simar1043) on keybase.
* I have a public key ASBA1zM1Z9P-bn5I0aOL3xvQ74ZukQ4MsD_C2TGGosN2kAo
To claim this, I am signing this object: