Quantcast
Channel: Java mon amour
Browsing all 1121 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

Naziukraine

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 Article


SLF4J 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 Article

Camels!

https://www.benskamelfarm.ch/

View Article

Collections

https://dzone.com/articles/the-best-of-java-collections-tutorialshttp://falkhausen.de/Java-10/java.util/Collection-Hierarchy.html...

View Article


Intellij 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 Article

Unittesting 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 Article

LinkedBlockingQueue

import java.util.concurrent.LinkedBlockingQueue;public class MyLinkedBlockingQueue { public static void main(String[] args) throws InterruptedException { LinkedBlockingQueue linkedBlockingQueue = new...

View Article


Collections

https://dzone.com/articles/the-best-of-java-collections-tutorialshttp://falkhausen.de/Java-10/java.util/Collection-Hierarchy.html...

View Article


Recommended 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 Article

Image may be NSFW.
Clik here to view.

Nazism 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 Article

Learning 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 Article

TypeScript 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 Article


React Router explained

https://www.youtube.com/watch?v=Ul3y1LXxzdU best tutorial ever - much better than official documentation https://reactrouter.com/en/main

View Article

Spring 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 Article


Chrome Developer Tools devtools

2 interesting crash courses : https://www.youtube.com/watch?v=gTVpBbFWry8 https://www.youtube.com/watch?v=gTVpBbFWry8

View Article

Intellij 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 Article


Docker 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 Article

Reverse 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 Article

Reverse 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
Browsing all 1121 articles
Browse latest View live