Skip to content

Instantly share code, notes, and snippets.

@alexwbuschle
alexwbuschle / setup_selenium.sh
Last active July 11, 2016 14:39 — forked from curtismcmullan/setup_selenium.sh
Setup Selenium Server on Ubuntu 14.04
#!/bin/bash
# Following the guide found at this page
# http://programmingarehard.com/2014/03/17/behat-and-selenium-in-vagrant.html
echo "\r\nUpdating system ...\r\n"
sudo apt-get update
# Create folder to place selenium in
@alexwbuschle
alexwbuschle / robot.js
Created December 4, 2012 22:22
Focker
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);