-
Java Convert date and time between timezone
In this tutorial, we will show you few examples (ZonedDateTime (Java 8), Date, Calendar and Joda Time) to convert a date and time between different time zones.
Date: 2019-08-17 View: 1859
-
MongoDB Update to upper case
A document, and you want to update all the ‘source’ values to UPPERCASE.
Date: 2019-08-17 View: 2118
-
Import Spring XML files into @Configuration
This is common to mix XML configuration into Spring @Configuration, because developers are used to the XML namespaces. In Spring, you can use @ImportResource to import Spring XML configuration files into @Configuration :
Date: 2019-08-17 View: 1772
-
Spring Profiles example
Spring @Profile allow developers to register beans by condition. For example, register beans based on what operating system (Windows, *nix) your application is running, or load a database properties file based on the application running in development, test, staging or production environment.
Date: 2019-08-17 View: 1931
-
Javascript How to call function inside jQuery code
Review a Javascript code snippet to call a function which declared inside jQuery code :
Date: 2019-08-17 View: 1956
-
MongoDB How to remove a field from document
This MongoDB article shows you how to remove a field from document and array.
Date: 2019-08-17 View: 2262
-
Jsoup Check Redirect URL
In this article, we will show you how to use Jsoup to check if an URL is going to redirect.
Date: 2019-08-17 View: 2326
-
logback.xml Example
Here are a few logback.xml examples that are used in my projects, just for sharing.
Date: 2019-08-17 View: 2329
-
Spring MVC Abstract Controller example
For self-reference, this article shows you how to create a Abstract class for Spring Controller, or a template method design pattern.
Date: 2019-08-17 View: 2264
-
How to change Eclipse theme
In this tutorial, we will show you how to change the Eclipse Theme.
Date: 2019-08-17 View: 3080
-
Java Get number of available processors
A code snippet to show you how to get the number of available processors / cores / CPUs in your environment.
Date: 2019-08-17 View: 2090
-
Spring ${} is not working in @Value
A simple Spring @PropertySource example to read a properties file.
Date: 2019-08-17 View: 2027
-
Logback different log file for each thread
In this tutorial, we will show you how to use Logback Mapped Diagnostic Context (MDC) and SiftingAppender to create a separate log file for each thread.
Date: 2019-08-17 View: 2097
-
MongoDB Allow remote access
In this tutorial, we will show you how to enable remote access to a MongoDB server. Here is the tested environment :
Date: 2019-08-17 View: 2036
-
Multiple SSH private keys Examples
To allow multiple private keys connect to different servers, edit ~/.ssh/config :
Date: 2019-08-17 View: 1848


