This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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 | |
# =================================================== | |
# Start Setup | |
# =================================================== | |
cd ~/ | |
# Update yum | |
sudo yum -y update | |
# =================================================== |
This file contains hidden or 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 | |
# Get Selenium and Firefox for headless testing in vagrant box | |
if [ ! -d "/var/selenium" ]; then | |
sudo mkdir /var/selenium | |
cd /var/selenium | |
sudo wget http://goo.gl/PJUZfa selenium-server-standalone.jar | |
fi | |
sudo yum -y install java-1.8.0-openjdk-headless.x86_64 | |
sudo yum -y install firefox.x86_64 | |
sudo yum -y install xorg-x11-server-Xvfb.x86_64 |