Skip to content

Instantly share code, notes, and snippets.

View chrisjwwalker's full-sized avatar

Chris J W Walker chrisjwwalker

  • Capgemini
  • UK
View GitHub Profile
@chrisjwwalker
chrisjwwalker / how_to_build_a_library_in_scala.md
Last active November 14, 2018 10:33
How to build a Library in scala

How to build a Library in scala

Prerequisites

  1. Knowledge of scala
  2. Knowledge of working with git in terminal
  3. Github account
  4. Bintray account

Step 1.

@chrisjwwalker
chrisjwwalker / GetUserAccountISpec.scala
Last active September 27, 2017 09:13
How to make readable integration tests for a Scala play application with wire mock
class GetUserAccountISpec extends IntegrationUtils {
"/get-user-account/:sessionId" should {
"return an OK" when {
"a user exists, they are authorised and their user id has been fetched" in {
given
.mongo.hasExistingUser
.user.isAuthorised
.session.getUserId
@chrisjwwalker
chrisjwwalker / macOS.md
Last active July 7, 2018 21:11
Developer Laptop Configuration

MacOS Laptop Configuration

This guide is intended to help a developer get up and running using a Apple Mac. There is also an assumption that you are attempting to setup one of Apples recent operating systems (El Capitan, Sierra or High Sierra).

1. Install OSX/macOS from USB

Whilst your device is off, insert the bootable USB with the operating system install. Press the power button and hold the alt key to bring up the boot menu.

Alt key on mac keyboard