Skip to content

Instantly share code, notes, and snippets.

View gist:7d52ea94fbb54aedb21a6596aecbf474
package com.amazonaws.samples;
import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.auth.AWSStaticCredentialsProvider;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.auth.BasicSessionCredentials;
import com.amazonaws.client.builder.AwsClientBuilder;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3ClientBuilder;
import com.amazonaws.services.s3.model.Bucket;
View docker-class-prep.md

This page https://bit.ly/2QnU5nQ

Preparations for todays Docker workshop

Bring up Windows PowerShell # It is assumed you have Docker for Windows installed

Docker installation

PS:> docker version
--> Should show both server and client details

Download the following images

View docker-class-2.md

Part-8.

Part-9. Spring boot RESTFul application

Part-10. Hubot (Slack bot) (Example)

View docker-class.md

This page - https://bit.ly/2MezS0z

Part-1. Getting started - Docker environment

Docker CLI

docker [resource/object] [command] [options] [args]

Display Docker version and info

1. $ docker --version
2. $ docker version
View Eclipse.md

To enable auto activation of content assit

Go to:

Window >> Preferences >> Java >> Editor >> Content Assist >> Auto activation triggers for java,
and enter .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 

this will trigger the auto activation for class names, methods, etc...

View LogDemoApplication.java
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Levels: ERROR >> WARN >> INFO >> DEBUG >> TRACE
*/
public class LogDemoApplication {
private static final Logger logger = LoggerFactory.getLogger(PcsBatchApplication.class);
public static void main(String[] args) {
You can’t perform that action at this time.