Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Zedeler mzedeler

  • BestBrains
  • Copenhagen, Denmark
View GitHub Profile
@mzedeler
mzedeler / .bashrc_ssh
Last active Mar 11, 2020 — forked from bluegraybox/.bashrc_ssh
bashrc snippet for initializing ssh agent and adding ssh key
View .bashrc_ssh
#!/bin/bash
# Set up ssh-agent
SSH_ENV="$HOME/.ssh/environment"
function start_agent {
echo "Initializing new SSH agent..."
touch $SSH_ENV
chmod 600 "${SSH_ENV}"
/usr/bin/ssh-agent | sed 's/^echo/#echo/' >> "${SSH_ENV}"
View local-selenium.md
$ brew install selenium-server-standalone chromedriver
$ git clone git@github.com:theintern/intern.git
$ cd intern
$ npm install --production
$ ln -s .. node_modules/intern
$ curl https://gist.github.com/neonstalwart/6630466/raw/f0e4e4efbefa40c746f7c68e2bb4fa0dd5215047/selftest.local.intern.js > tests/selftest.local.intern.js
$ java -jar /usr/local/opt/selenium-server-standalone/selenium-server-standalone-2.35.0.jar -p 4444 &
$ node node_modules/intern/runner.js config=tests/selftest.local.intern