Objects, classes, traits and case classes
Use the keyword class
class Foo
val foo = new Foo
#!/bin/bash | |
function jira_issue() | |
{ | |
curl -u $JIRA_USERNAME:$JIRA_PASSWORD $JIRA_BASEURL'/rest/api/2/issue/'$1 | |
} | |
function jira_search() | |
{ | |
curl -G -u $JIRA_USERNAME:$JIRA_PASSWORD "$JIRA_BASEURL/rest/api/2/search" --data-urlencode "jql=$1" |
#! /usr/bin/env bash | |
# Setup: | |
# 1. Install latest Java and Virtual Box | |
# 2. Install Homebrew: | |
# ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# 3. run script | |
# curl -L https://gist.githubusercontent.com/jehrhardt/d5d7e364e12e283c8949/raw/install_defaults.sh | sh | |
# Install Emacs via Homebrew |
Basic instructions on setting up my Mac.
Download and install Java and Virtual Box from Oracle:
Install Homebrew
Following the vagrant documentation to create a new base box running Ubuntu 12.04 and Puppet requires to do a lot of single steps. Using this simple guide may help you to go through these steps much faster.
You will need to install a current version of
#!/bin/sh | |
if [ -z "$SBT_VERSION" ] | |
then | |
SBT_VERSION=0.13.0 | |
fi | |
SBT_LAUNCH_JAR=$HOME/.sbt/sbt-launch-$SBT_VERSION.jar | |
mkdir -p $HOME/.sbt |