2019-12-02

Java Collections

You can not sort TreeMap on values.

Key points about HashSet:
    HashSet stores elements in random-order
    Allows only unique element/objects with maximum limit of 1 null

2019-11-27

Java Spring Boot MVC

mv application.properties application.yml
spring:
profiles:dev
server:
port:81
---
spring:
profiles:prod
server:
port:80

mvn clean package
java -jar -Dspring.profiles.active=dev target/initial-boot-app-0.0.1-SNAPSHOT.jar

Actuator:
https://www.linkedin.com/learning/spring-boot-essential-training/spring-boot-actuator
localhost:8080/env
/health
/mappings

/health
/metrics
/configprops
/env
/loggers
/mappings



Spring Security
https://www.linkedin.com/learning/spring-boot-essential-training/implementing-spring-security

spring.thymeleaf.cache=false

2019-11-26

Java Stream API

Processing Data with Java SE 8 Streams, Part 1
https://www.oracle.com/technical-resources/articles/java/ma14-java-se-8-streams.html  

Part 2: Processing Data with Java SE 8 Streams
https://www.oracle.com/technical-resources/articles/java/architect-streams-pt2.html

Package java.util.stream 
https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html

Interface Stream
https://docs.oracle.com/javase/8/docs/api/?java/util/stream/Stream.html

https://www.youtube.com/watch?v=t1-YZ6bF-g0
Intermediate operations:
filter
map
flatmap
sort (sorted?)
anyMatch
distinct
findFirst

skip

Terminal operations:
forEach
collect
reduce
count
min
max
summaryStatistics


Stream API,part 1 https://www.youtube.com/watch?v=O8oN4KSZEXE
 Intermediate operations:
filter
map
flatmap
peek
sorted
distinct
limit
skip

unordered
parallel
sequential

Terminal operations:
forEach, iterator
find[First|All]
[all|any|non]Match
reduction, collectors

Stream API,part 2 https://www.youtube.com/watch?v=i0Jr2l3jrDA

2019-11-25

Java Spring Boot Tips

@PropertySource("classpath/application.properties") @Value("${app_props_key}") private String app_prop_val; https://www.linkedin.com/learning/spring-framework-in-depth/implement-aop-advice-before loggin.level.root=INFO logMethodCall() LOGGER.log(app method params

2019-11-14

Java learn & certification

https://docs.oracle.com/javase/tutorial/extra/certification/index.html https://coderanch.com/c/certification 13 Free Java 8 Certification Online Mock Tests https://www.java67.com/2017/05/10-free-java-8-certification-sample-questions-OCAJP8-OCPJP8-Mock-Exams.html https://www.udemy.com/course/spring-boot-complete-guide-from-development-to-deployment/?LSNPUBID=JVFxdTr9V80&ranEAID=JVFxdTr9V80&ranMID=39197&ranSiteID=JVFxdTr9V80-s9R8rW3unDigzKT4CYcaOA https://javarevisited.blogspot.com/2016/12/5-tips-to-prepare-for-oracle-java-certifications-OCAJP-OCPJP-exams.html?m=1 https://dou.ua/lenta/articles/java-11-developer-1/

2019-10-25

Java stuff

JSON viewer:
http://jsonviewer.stack.hu/
Parse JSON String to Object in Spring Boot App


Automation JS frameworks
https://dou.ua/lenta/articles/automation-js-frameworks/?from=nl&utm_source=20191022&utm_medium=email&utm_campaign=CM

SCRUM
http://scrumy.com

User Interface with Boostrap Learning Module Overview

BufferedReader, InputStream, BufferedInputStream: Overview

Use BufferedReader, BufferedInputStream in Java

HTML View to Controller to Service to DAO

HTML View to Controller to Service to DAO
Thymeleaf th:each and Boostrap list-group integrated

JUnit
Test Driven Design/BDD with Spring Boot Example
Test Driven Development with Spring Boot

Mockito 
Use Mockito in Spring Boot to Mock Test Object

Spring Boot essentials
https://www.youtube.com/playlist?list=PL73qvSDlAVVh4QHMkO2gM52deldy64n45
From Zero to Hero with Spring Boot - Brian Clozel

https://linuxize.com/post/install-mariadb-on-centos-7/

AMQP: Asynchronous messaging in Spring Boot applications 
https://www.linkedin.com/learning/spring-boot-essential-training/asynchronous-messaging-in-spring-boot-applications

  Spring Data in Spring Boot applications 
https://www.linkedin.com/learning/spring-boot-essential-training/spring-data-in-spring-boot-applications 

  Spring Security in Spring Boot applications 
https://www.linkedin.com/learning/spring-boot-essential-training/spring-security-in-spring-boot-applications


2019-10-05

Java PWM monitor



How to Compile Java Programs into EXEs
https://www.youtube.com/watch?v=Mr_TdPuF-4g

How to use ADC in STM32F103C8 - Measuring Analog Voltage
https://circuitdigest.com/microcontroller-projects/how-to-use-adc-in-stm32f103c8-stm32-blue-pill-board

Programming STM32F103C8 Board using USB Port
https://circuitdigest.com/microcontroller-projects/programming-stm32f103c8-board-using-usb-port

2019-03-14

5 inches and 6 inches propellers test


https://www.minimumrc.com/products/minimoa-glider-gull-wing-700mm-micro-rc-aircraft-kit?VariantsId=10376