MYSQL / CATATAN</>↗MySQL16 Des 2019
What is MySQL MySQL is an open-source RDBMS (Relational Database Management System). As the name implied it uses SQL (Structured Query Language) to access and manipulate data. MySQL has been widely used to store and manage data ranging from a simple web application to an enterprise class application. The importance of data in every application […]
MAIL / CATATAN</>↗Mail13 Nov 2019
Java has been ranking as one of the most popular web programming languages for many years. In this tutorial on sending emails in Java, which was originally published on the Mailtrap blog, we will demonstrate how to build HTML emails with images and attachments and send them using an SMTP server. The main option is […]
CORE API / CATATAN</>↗Core API23 Okt 2019
The following code snippet shows you how to remove time information from the java.util.Date object. The static method removeTime() in the code snippet below will take a Date object as parameter and will return a new Date object where the hour, minute, second and millisecond information hasbeen reset to zero. To do this, we use […]
OS X / CATATAN</>↗OS X28 Mar 2019
Here are the instructions to install Microsoft Consolas Font on Mac OS X. You need to install brew first. Type-in the following commands. brew install cabextract cd ~/Downloads mkdir Consolas cd Consolas curl -LO https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe cabextract PowerPointViewer.exe cabextract ppviewer.cab open CONSOLA*.TTF Press Install Font button to install the fonts.
TOOLS / CATATAN</>↗Tools14 Feb 2019
You have typed a long line of command in terminal. But now you want to clear or delete the entire line. Deleting each character in the command will take sometime and bored you. So are there any keyboard shortcuts that allow you to do this? Yes there are some hotkeys to the rescue. Hotkeys Description […]
APACHE COMMONS / CATATAN</>↗Apache Commons06 Feb 2019
The following code snippet demonstrates how to use RandomStringGenerator class from the Apache Commons Text library to generate random strings. To create an instance of the generator we can use the RandomStringGenerator.Builder() class build() method. The builder class also helps us to configure the properties of the generator. Before calling the build() method we can […]