This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env amm | |
| interp.repositories() ++= Seq(coursierapi.MavenRepository.of("https://jitpack.io")) | |
| @ | |
| import $ivy.`com.github.andyglow::scala-jsonschema-core:0.7.1` | |
| import $ivy.`com.github.andyglow::scala-jsonschema-circe-json:0.7.1` | |
| import $ivy.`io.circe::circe-parser:0.12.3` | |
| import $ivy.`io.circe::circe-json-schema:0.1.0` | |
| import cats.data.ValidatedNel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| set -o errexit | |
| set -o nounset | |
| set -o pipefail | |
| nameProjectX='root-project' | |
| nameProjectA='A' | |
| nameProjectB='B' | |
| nameProjectC='C' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set linkanimations | |
| set noautofocus | |
| set autohidecursor | |
| set cncpcompletion | |
| unmap a | |
| unmap b | |
| unmap D | |
| unmap e | |
| unmap E | |
| unmap O |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I assume your application name is 'myapp'. | |
| Extract the folder in the zip file and enter the 'conf' directory. | |
| $ cd myapp-1.0-SNAPSHOT/conf | |
| Edit the 'application.conf' file and add language files. Package your modifications in a jar file. | |
| All files must reside in the root of the jar file. | |
| $ jar -cf myapp.customisation.jar application.conf messages ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # We need the TAB character for SED (Mac OS X sed does not understand \t) | |
| TAB="$(printf '\t')" | |
| function abort { | |
| echo "$(tput setaf 1)$1$(tput sgr0)" | |
| exit 1 | |
| } |