My Project Notes

Submitted by code_admin on Sat, 11/24/2018 - 13:40

It LJC conference I realised I am not able to remember where some of my main projects are and this page is a reminder page.

Kafka - ????Lost - but inside https://github.com/rmetcalf9/SpringPlay I have demo002 which has message injection. Must have kafka runner compose file somewhere
I lost the compose file I made but this https://github.com/simplesteph/kafka-stack-docker-compose might do the same.

My Python WebApp Container Template

I am not an expert at building container images, but I do have some experiences. These ‘experiences’ have led me to build containers in a certain way. There are many practices and approaches I use to make the final container easy to use and robust. There are also different types of container that I aim to build. One type of container I need is one that hosts python (flask) based RESTful services and possibly a static web application. I have created a template to produce one of these and I will describe how I use it to create a new container here.

Java Streams

Submitted by code_admin on Wed, 10/17/2018 - 16:07
  1. IntStream.range(0,5).boxed().collect(Collectors.toList()).forEach(i -> System.out.println(String.format("Robert did %d", i)));

Streams

Intellj IDEA

Submitted by code_admin on Fri, 10/12/2018 - 20:02

Import -> alt + enter
In class with unimplemented methods -> crtl + i
When in function params -> crtl + p see paramaters
Create new test -> ctrl + shift + j
Insert method -> alt + ins
Go to test ctrl + shift + t
Go to definintion ctrl + b

Changing code templates

ctrl + alt + s

crtl + alt + shift + / - registry