Skip to content

Instantly share code, notes, and snippets.

View garbas's full-sized avatar
🏠
Working from home

Rok Garbas garbas

🏠
Working from home
View GitHub Profile
@garbas
garbas / gist:4742213
Last active December 12, 2015 08:09 — forked from jone/get_free_port.py
export REMOTE_URL="http://XXXX:[email protected]:80/wd/hub"
export ZSERVER_HOST="0.0.0.0"
DESIRED_CAPABILITIES=$(cat <<EOF | python -
import os
SELENIUM_DRIVER = os.environ.get('SELENIUM_DRIVER')
DESIRED_CAPABILITIES = ''
for item in SELENIUM_DRIVER.split('?', 1)[1].split('&')
DESIRED_CAPABILITIES += ','
# generated using pypi2nix tool (version: 1.8.0)
# See more at: https://github.com/garbas/pypi2nix
#
# COMMAND:
# pypi2nix -V 2.7 -e mrjob
#
{ pkgs ? import <nixpkgs> {}
}: