-
VirtualBox Ubuntu slow and laggy UI
To solve the Ubuntu UI slow performance issue on VirtualBox, increase the “Video Memory” and “Enable 3D Acceleration”
Date: 2019-08-11 View: 1243
-
cPanel keeps prompting the login dialog
The cPanel keeps prompting the login dialog over and over, and I’m 100% sure the username and password is correct.
Date: 2019-08-11 View: 1327
-
How to Stop WordPress Pingbacks and Trackbacks Spam
Review my WordPress wp_comments table and find out the file size is containing 500MB++ for around 1 millions++ comments! Dig inside and find out around 900k++ comments was marked as ‘trackback‘ and it linked back to a spammer’s website. The worst is the this type of ‘trackback‘ comments are kept increasing every second!
Date: 2019-08-11 View: 1426
-
How to stop logback status INFO at the start of every log?
The logbook will output its own status (INFO or WARN) at the start of the program, it’s really annoying!
Date: 2019-08-11 View: 1404
-
Spring Boot Custom Banner example
This article shows you how to replace the default Spring’s banner below with your custom banner.
Date: 2019-08-11 View: 1405
-
Spring Boot JDBC + MySQL + HikariCP example
In this article, we will show you how to create a Spring Boot JDBC application + MySQL and HikariCP.
Date: 2019-08-11 View: 1805
-
Spring Boot non-web application example
In Spring Boot, to create a non-web application, implements CommandLineRunner and override the run method, for example :
Date: 2019-08-11 View: 1649
-
MySQL Establishing SSL connection without servers identity verification is not recommended
Start a Spring Boot application and making a JDBC connection, hits the following warning messages on console :
Date: 2019-08-11 View: 1416
-
Spring Boot How to disable the Spring logo banner
Here are few ways to disable the Spring logo banner below :
Date: 2019-08-11 View: 1245
-
Spring Boot How to know which connection pool is used?
In Spring Boot, @Autowired a javax.sql.DataSource, and you will know which database connection pool is using in the current running application.
Date: 2019-08-11 View: 1437
-
Spring Boot JDBC + Oracle database + Commons DBCP2 example
In this article, we will show you how to create a Spring Boot JDBC application + Oracle database + Commons DBCP2 connection pool.
Date: 2019-08-11 View: 2505
-
WordPress Disable comments on attachments
After stopped and cleaned the WordPress pingback and trackback spams, those spammers have changed strategy to start spamming comments and trackbacks on the post attachments.
Date: 2019-08-11 View: 1688
-
Spring Boot + Spring Data JPA + Oracle example
In this article, we will show you how to create a Spring Boot + Spring Data JPA + Oracle + HikariCP connection pool example.
Date: 2019-08-11 View: 3221
-
Java 8 Optional In Depth
Java 8 has introduced a new class Optional in java.util package. It is used to represent a value is present or absent. The main advantage of this new construct is that No more too many null checks and NullPointerException. It avoids any runtime NullPointerExceptions and supports us in developing clean and neat Java APIs or Applications. Like Collections and arrays, it is also a Container to hold at most one value. Let us explore this new construct with some useful examples.
Date: 2019-08-11 View: 1413
-
Spring Boot Show Hibernate SQL query
Add the following lines in application.properties to log the Hibernate SQL query.
Date: 2019-08-11 View: 1648