-
JavaScript Check if String contains a substring
In JavaScript, we can use the classic indexOf() or the new ES6 includes to check if a String contains a substring.
Date: 2019-08-11 View: 1746
-
Spring Boot MySQL : Table DB_NAME.hibernate_sequence doesnt exist
Spring Boot + Spring Data JPA + MySQL, and hits the following error message when the application starts :
Date: 2019-08-11 View: 1541
-
Spring Boot + Spring data JPA + PostgreSQL
The previous Spring Boot + Spring data JPA will be reused, modify to support PostgreSQL database.
Date: 2019-08-11 View: 1888
-
Apache Log4j 2 Tutorials
A simple log4j 2 hello world example.
Date: 2019-08-11 View: 1427
-
JavaScript How to redirect a page
In JavaScript, we can use either location.replace() or location.href to redirect a page. Normally, we use location.replace() to simulate an HTTP redirect.
Date: 2019-08-11 View: 1564
-
Log4j 2 java.lang.NoClassDefFoundError: com/lmax/disruptor/EventTranslatorVararg
Enable the log4j 2 loggers to asynchronous, but hits the following order :
Date: 2019-08-11 View: 5072
-
JavaScript How to remove certain element from Array
In JavaScript, we can combine indexOf() and splice() to remove a certain element from an Array.
Date: 2019-08-11 View: 1678
-
log4j2.xml example
Some log4j2.xml examples, just for self-reference
Date: 2019-08-11 View: 1762
-
JavaScript Array forEach examples
In JavaScript, we can use forEach(function) to loop an Array. The provided function in forEach() will run once for each array element.
Date: 2019-08-11 View: 1246
-
JavaScript How to loop an Array
In JavaScript, we can use for, forEach or for..of to loop an Array.
Date: 2019-08-11 View: 1393
-
log4j2.properties example
A simple log4j2.properties example, just for self-reference
Date: 2019-08-11 View: 1449
-
log4j2.yml example
A simple log4j2.yml example, just for self-reference
Date: 2019-08-11 View: 1478
-
JavaScript Get selected value from dropdown list
A JavaScript example to show you how to get the selected value or text from a dropdown list.
Date: 2019-08-11 View: 1388
-
Spring Boot Log4j 2 example
In this tutorial, we will show you how to use Apache Log4j 2 in Spring Boot framework.
Date: 2019-08-11 View: 1340
-
SLF4J Logback Tutorial
A simple SLF4J with Logback example.
Date: 2019-08-11 View: 1493