Download the package form Robo3t or using wget
wget https://download.robomongo.org/1.2.1/linux/robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz
tar -xvzf robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz
#!/bin/bash | |
cd /tmp || exit | |
read -r -p "[s]table or [b]eta? [sS/bB] " choice | |
choice=${choice,,} # tolower | |
if [[ ! "$choice" =~ ^(s|b)$ ]]; then | |
exit | |
fi | |
if [[ "$choice" = "s" ]]; then | |
url=https://dl.pstmn.io/download/latest/linux64 | |
name=Postman |
# config file | |
# vim ~/.config/fish/config.fish | |
# reload the config | |
# source ~/.config/fish/config.fish | |
# set the workspace path | |
set -x GOPATH /users/my-username/go | |
# add the go bin path to be able to execute our programs |
Coverage Badges |
wget
wget https://download.robomongo.org/1.2.1/linux/robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz
tar -xvzf robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz
# Install CURL | |
$ sudo apt-get install curl | |
# Install pyenv | |
# Source here: https://stackoverflow.com/questions/62743132/ubuntu-18-04-command-pyenv-not-found-did-you-mean | |
$ curl https://pyenv.run | bash | |
# set environment | |
$ set -Ux PYENV_ROOT $HOME/.pyenv | |
$ set -Ux fish_user_paths $PYENV_ROOT/bin $fish_user_paths |
echo "OpenCV installation by learnOpenCV.com" | |
#Specify OpenCV version | |
cvVersion="3.4.4" | |
# Clean build directories | |
rm -rf opencv/build | |
rm -rf opencv_contrib/build | |
# Create directory for installation |
#!/bin/bash | |
adduser ardi | |
usermod -aG sudo ardi | |
sudo -H -u ardi bash -c 'mkdir /home/ardi/.ssh' | |
cp ~/.ssh/authorized_keys /home/ardi/.ssh/authorized_keys | |
sudo chown ardi:ardi /home/ardi/.ssh/authorized_keys |
#!/bin/bash | |
#### WARNING: | |
#### 1. PLEASE MAKE SURE YOU ARE NOT IN "root" USER !!!! | |
#### 2. I AM USING "ardi" AS THE LOGGED IN USER !!!! | |
#### 3. Run script "adduser-ardi.sh" first, before running this script; Link: https://gist.github.com/ardihikaru/d3ce4182dc97be529c98dcd935ab690b | |
#### 4. Tested in DigitalOcean Droplet | |
# 1. Installation | |
sudo -H -u ardi bash -c 'sudo apt update' |
#!/bin/bash | |
curl -L https://get.oh-my.fish | fish | |
omf install batman | |
omf install bass |
#!/bin/bash | |
# 1. Install fish | |
apt-add-repository ppa:fish-shell/release-3 | |
apt install fish | |
fish | |
chsh -s /usr/bin/fish | |
# 2. Setup fish message | |
mkdir -p ~/.config/fish |