Skip to content

Instantly share code, notes, and snippets.

@tjkemper
tjkemper / cucumber-error.txt
Last active March 27, 2017 00:49
Error when naming the package "cucumber".
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running cucumber.RunCukesTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.409 sec <<< FAILURE!
initializationError(cucumber.RunCukesTest) Time elapsed: 0.009 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/jdom2/JDOMException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetPublicMethods(Class.java:2902)
@tjkemper
tjkemper / seed-local-env.md
Last active April 12, 2017 16:44
Local environment

SEED Local Environment (Mac)

Open the Terminal application. Copy and paste each of the following commands into Terminal and hit Enter.


Table of Contents

Left Rotate

Write a method leftRotate which rotates the array n times. Each rotation shifts all elements to the left and places the first element at the end.

leftRotate(int[] array, int n)
  //write pseudocode

Case 1:

# Installing Jenkins on Ubuntu
sudo apt-get -y update
sudo apt-get install -y openjdk-8-jdk
sudo apt-get install -y maven
sudo apt-get install -y git-all
sudo wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list
sudo apt-get install -y jenkins
sudo service jenkins status