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 | |
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
# Versions | |
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE` |
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 | |
# For More Info http://clivern.com/how-to-install-apache-tomcat-8-on-ubuntu-16-04 | |
sudo apt-get update | |
sudo apt-get install default-jdk | |
sudo apt-get install unzip | |
cd /opt | |
curl -O http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.15/bin/apache-tomcat-8.5.15.zip | |
sudo unzip apache-tomcat-8.5.15.zip | |
sudo mv apache-tomcat-8.5.15 tomcat |
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/sh | |
## inherit from https://chaincodedevs.com/showthread.php?tid=3 | |
## https://www.youtube.com/channel/UCIQAZN1lUU4vHCRJY_maOfw | |
sudo adduser playground | |
sudo usermod -aG sudo playground | |
sudo su - playground | |
sudo curl -O https://hyperledger.github.io/composer/latest/prereqs-ubuntu.sh | |
sudo chmod u+x prereqs-ubuntu.sh | |
sudo ./prereqs-ubuntu.sh | |
sudo su - playground |
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
sudo apt-get update && sudo apt-get upgrade --fix-missing | |
sudo apt-get install build-essential | |
sudo apt-get install build-essential checkinstall | |
sudo apt-get install ubuntu-restricted-extras | |
sudo add-apt-repository -y ppa:videolan/stable-daily | |
sudo add-apt-repository -y ppa:gnome3-team/gnome3 | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo add-apt-repository -y ppa:webupd8team/y-ppa-manager |
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 | |
rows=$(tput lines) | |
cols=$(tput cols) | |
colors=(red green blue purple cyan yellow brown) | |
lock_file= | |
lock_file_base=/tmp/$(basename $0 .sh) | |
multiple=0 | |
if [[ "$1" ]]; then |
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 | |
# This script will setup powershell into Ubuntu 16.04 LTS | |
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list | |
sudo apt-get update | |
sudo apt-get install -y powershell | |
pwsh |
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
# This script will Install Anaconda on Ubuntu 18.04 LTS | |
sudo apt-get update -y && sudo apt-get upgrade -y | |
cd /tmp/ | |
wget https://repo.anaconda.com/archive/Anaconda3-5.0.1-Linux-x86_64.sh | |
md5sum Anaconda3-5.0.1-Linux-x86_64.sh | |
bash Anaconda3-5.0.1-Linux-x86_64.sh | |
source ~/.bashrc | |
conda list | |
conda create --name myenv python=3 |
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 | |
# this script will install qt 5.12 into Ubuntu 18.10 Box | |
# http://download.qt.io/official_releases/qt/5.12/5.12.0/ | |
# https://wiki.qt.io/Install_Qt_5_on_Ubuntu | |
sudo wget http://download.qt.io/official_releases/qt/5.12/5.12.0/qt-opensource-linux-x64-5.12.0.run | |
sudo chmod +x qt-opensource-linux-x64-5.12.0.run | |
./qt-opensource-linux-x64-5.12.0.run | |
sudo apt-get install build-essential | |
sudo apt-get install libfontconfig1 |
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 | |
# run all commands from root | |
# source http://www.linuxfromscratch.org/blfs/view/7.5/general/php.html | |
apt update && sudo apt-get upgrade --fix-missing | |
apt install build-essential checkinstall | |
apt install ubuntu-restricted-extras | |
apt list --upgradable | |
apt upgrade -y | |
apt update -y |
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 | |
# run from root user | |
apt-get update | |
apt-get install curl | |
\curl -sSL https://get.rvm.io | bash -s stable | |
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB | |
source ~/.rvm/scripts/rvm | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 | |
gpg --import mpapis.asc |