Skip to content

Instantly share code, notes, and snippets.

View natenolting's full-sized avatar
🤘
Fixing stuff...

Nate Nolting natenolting

🤘
Fixing stuff...
View GitHub Profile
@natenolting
natenolting / 0_reuse_code.js
Created April 8, 2016 15:00
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@natenolting
natenolting / provision-selenium.sh
Last active April 8, 2016 15:06 — forked from withremote/provision-selenium.sh
Sets up selenium for testing inside vagrant box
#!/usr/bin/env bash
# ===================================================
# Start Setup
# ===================================================
cd ~/
# Update yum
sudo yum -y update
# ===================================================
@natenolting
natenolting / get_selenium.sh
Created November 19, 2015 18:30 — forked from withremote/get_selenium.sh
Get Selenium and Firefox for headless testing in vagrant box
#!/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