Skip to content

Instantly share code, notes, and snippets.

View anabellaspinelli's full-sized avatar

Anabella anabellaspinelli

  • Barcelona, Spain
View GitHub Profile
@anabellaspinelli
anabellaspinelli / Set up Selenium.md
Last active July 16, 2017 21:05
Setting up Selenium with Java, Maven, Eclipse and Mac

Initial Steps

  1. Install Java and JDK
  2. Setup JAVA_HOME
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
  1. Download and install Maven (follow instructions in the maven readme file)
  2. Download Firefox (or any other supported browser)
  3. Download its driver (in Firefox's case, GeckoDriver).
@anabellaspinelli
anabellaspinelli / Multiple GitHub Accounts.md
Last active June 18, 2017 03:38
Using 2 (or more) GitHub accounts on the same machine

Setting up another GitHub account

And then adding remotes and users accordingly
  1. First, create a new SSH key and link it to the new GitHub account you want to use. When prompted to choose the file, change it to another different than the default one. Remember to give a full path, otherwise it will be created on the current directory. This is the process for this step: https://help.github.com/articles/generating-ssh-keys/

  2. Add the hosts on /Users/dev/.ssh/config. If the file doesn't exist, create it. Example:

     Host github.com-anabellaspinelli
         HostName github.com
    

User git