• Internationalisation Test String

    Iñtërnâtiônàlizætiøn  

  • Useful Docker Commands

    Cleaning up docker system prune [-a] docker images prune docker containers prune docker rm $(docker ps –no-trunc -aq) Connect to running container docker exec -it containerid /bin/bash docker exec -it containerid /bin/sh docker attach containerid Build image from Dockerfile docker build -t containername -f /path/to/Dockerfile . Run mounting Docker socket...

  • AWS Summit 2017

    Keynote Amazon CTO - Werner Services Overview Firewall not enough, protect components. Security by design: AWS Inspector AWS Shield for DDOS Types of instance families Lambda & Step functions X-Ray DynamoDB DynamoDB Accelerator Database Migration Service Aurora MySQL and Postgres Big data - Redshift and EMR DVLA and BP downstream...

  • Services in a Layered Architecture

    In a layered architecture the Services layer is a middle layer designed to encapsulate business and system logic in a stateless manner. Services orchestrate a series of steps using other services and repositories. A service is an optional layer; it should not be necessary to go through the Services layer....

  • Layers of Testing

    Unit Testing Developer tool for testing a single method. Multiple tests per method. Easy to write, not fragile. Change the test, change the implementation. Take little effort. Functional Testing Test multiple methods or classes. Testing what the application does rather than how it does it. Few implementation details. Higher level,...

  • Share a Windows folder with a Docker Container

    This only applies to running Docker on Windows 7 or older using VirtualBox to run the Docker host VM. Share the directory in Windows with the Docker Host Open VirtualBox Manager. The Docker Host VM is called “default”. Open Settings for this VM. Go to the “Shared Folders” panel and...

  • GWT MVP with Activities and Places

    View public interface HelloView extents IsWidget { public interface Presenter { String getName(); } } ClientFactory Holds on to instances of views and other reusable resources. public interface ClientFactory { EventBus getEventBus(); HelloView getHelloView(); } Activity Similar to Presenter. Implements the Presenter interface defined in the view above. public class...

  • Getting started with Kinesalite

    Kinesalite is an implementation of Amazon’s Kinesis, built on LevelDB, that can be used for local development of Kinesis consumers and producers. To get started, install Kinesalite using npm by running the following command npm install -g kinesalite Install AWS CLI using pip by running the following command pip install...