Audio recording in Java
This Baeldung post explains clearly how to record from a microphone (source code available in github) . But it doesn't explain how to record from the headset. In my case I need to record not the mic...
View ArticleNaziukraine
Tyahnybok and Svoboda:“In order to create a truly Ukrainian Ukraine in the cities of the East and South, lustration alone will not be enough, for this it is necessary to abolish parliamentarism...
View ArticleSLF4J caveat on formatting
this will simply log NOTHING: in log.info(), the first parameter if it's a String it should be a formatting string, like "{}" .... if there is no format, nothing is logged. import...
View ArticleCollections
https://dzone.com/articles/the-best-of-java-collections-tutorialshttp://falkhausen.de/Java-10/java.util/Collection-Hierarchy.html...
View ArticleIntellij loose search for text in files
If you enable the "regex" option on the far right of the "find in files" dialog, you can enter things like "TODO .* master" and this will find all the lines with both TODO and master . Small trick...
View ArticleUnittesting a controller in Spring
https://spring.io/guides/gs/testing-web/ @WebMvcTest(GreetingController.class) @Autowired private MockMvc mockMvc; https://www.springboottutorial.com/spring-boot-swagger-documentation-for-rest-services
View ArticleLinkedBlockingQueue
import java.util.concurrent.LinkedBlockingQueue;public class MyLinkedBlockingQueue { public static void main(String[] args) throws InterruptedException { LinkedBlockingQueue linkedBlockingQueue = new...
View ArticleCollections
https://dzone.com/articles/the-best-of-java-collections-tutorialshttp://falkhausen.de/Java-10/java.util/Collection-Hierarchy.html...
View ArticleRecommended tutorials for Gitlab Pipelines
https://www.youtube.com/watch?v=qP8kir2GUgo Pipelines Tutorial by NENA (quite good) https://www.youtube.com/watch?v=mnYbOrj-hLY Pipelines Tutorial by MOSS (really good)...
View ArticleNazism and Ukraine
Tyahnybok and Svoboda:“In order to create a truly Ukrainian Ukraine in the cities of the East and South, lustration alone will not be enough, for this it is necessary to abolish parliamentarism...
View ArticleLearning React, first experiences
I have bought myself (20 USD) the course https://www.udemy.com/course/react-tutorial-and-projects-course/ by John Smilga.... it's loaded with exercises, but doesn't really focus enough on concepts,...
View ArticleTypeScript tutorials
https://ts.chibicode.com/todo/ this is really cool beginners tutorial Then this one https://exploringjs.com/tackling-ts/ch_typescript-essentials.html
View ArticleReact Router explained
https://www.youtube.com/watch?v=Ul3y1LXxzdU best tutorial ever - much better than official documentation https://reactrouter.com/en/main
View ArticleSpring DispatcherServlet mappings debugging
clone the project in https://spring.io/guides/gs/actuator-service/ that is https://github.com/spring-guides/gs-actuator-service.git , and start the application in complete folder add in...
View ArticleChrome Developer Tools devtools
2 interesting crash courses : https://www.youtube.com/watch?v=gTVpBbFWry8 https://www.youtube.com/watch?v=gTVpBbFWry8
View ArticleIntellij Java remote debug with SSH tunnel
This is the simplest explanation how to do it: https://arjon.es/2014/remote-debug-of-a-java-app-using-ssh-tunneling-without-opening-server-ports/ (it is a bit confusing, as is uses localhost for both...
View ArticleDocker container connecting to host service on Windows
docker run -d -p 80:80 --name webserver nginx docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES2733688156aa nginx "/docker-entrypoint.…" 14 seconds ago Up 13 seconds 0.0.0.0:80->80/tcp...
View ArticleReverse Proxy with nodejs
https://github.com/http-party/node-http-proxy npm install http-proxy --save node .\server.js var http = require('http'), httpProxy = require('http-proxy');//// Create your proxy server and set the...
View ArticleReverse Proxy with Spring Boot
https://github.com/vernetto/myreverseproxy/blob/master/src/main/java/org/pierre/myreverseproxy/CharonConfiguration.java I really like the simplicity and power of this CHARON, a Spring Boot- based...
View Article