-
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: 1710
-
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: 1509
-
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: 1859
-
Apache Log4j 2 Tutorials
A simple log4j 2 hello world example.
Date: 2019-08-11 View: 1398
-
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: 1538
-
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: 5034
-
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: 1638
-
log4j2.xml example
Some log4j2.xml examples, just for self-reference
Date: 2019-08-11 View: 1736
-
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: 1214
-
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: 1368
-
log4j2.properties example
A simple log4j2.properties example, just for self-reference
Date: 2019-08-11 View: 1417
-
log4j2.yml example
A simple log4j2.yml example, just for self-reference
Date: 2019-08-11 View: 1454
-
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: 1356
-
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: 1314
-
SLF4J Logback Tutorial
A simple SLF4J with Logback example.
Date: 2019-08-11 View: 1465