.
|-- build.properties # XLT java build properties
|-- build.xml # XLT java build configuration
|-- global_testdata.properties # global testdata properties
|-- scripts
| |-- modules.helper # basic scripts
| |-- modules.pages # scripts for specific pages
| | |-- account # scripts on Account pages
| | |-- cart # scripts on Cart page
This file contains 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/sh | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' |
This file contains 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/sh | |
# move to /.git/hooks/commit-msg | |
# | |
# check for regex pattern | |
PATTERN="[A-Z]{2,}_[0-9]{1,6}" | |
head -n1 "$1" |grep -qsE ${PATTERN} || { | |
echo >&2 Include pattern in your commit message. Example: ABCD_1234. | |
exit 1 |
This file contains 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
#a:: | |
!a:: | |
Send, ä | |
Return | |
!+a:: | |
Send, Ä | |
Return | |
#o:: | |
!o:: | |
Send, ö |
Install the Docker Toolbox and Docker Compose:
- Mac, Windows: https://www.docker.com/products/docker-toolbox (includes Compose)
- Linux: https://docs.docker.com/engine/installation/ and https://docs.docker.com/compose/install/
Prefetch necessary images (execute in the Docker Terminal):
docker pull hello-world
worked for me yesterday (tm)
Also see:
This file contains 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
FROM ubuntu:16.04 | |
################ | |
# Setup System # | |
################ | |
# Add sources to mirror list | |
RUN echo "deb http://archive.ubuntu.com/ubuntu xenial main universe\n" > /etc/apt/sources.list && \ | |
echo "deb http://archive.ubuntu.com/ubuntu xenial-updates main universe\n" >> /etc/apt/sources.list && \ |
This file contains 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
import java.util.Map; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; | |
public class Maps { | |
public static Map<String, Object> asFlattendMap(Map<String, Object> map) { | |
return map.entrySet().stream() | |
.flatMap(Maps::flatten) | |
.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); |