HttpURLConnection multipart/form-data example

To make a http request with multipart/form-data, we need to define a boundary separator, which suppo...
Feb 11, 2020 Java HttpURLConnection Comments 0

add a trailing slash in path if not exists java

Path separators are different on Windows and Linux. You can use the constant File.separatorChar. The...
Feb 09, 2020 Java Comments 0

jQuery select all except first or a specific one

Use jquery's selector and related methods to select all elements but not include the first (or a spe...
Feb 07, 2020 Javascript Comments 0

Javascript call function by name string

Sometimes it is necessary to call functions dynamically. Use the string of the function name to exec...
Feb 05, 2020 Javascript Comments 0

Java program to Encrypt/Decrypt String Using AES 128 bits Encryption Algorithm

During web development, sometimes you need to display some sensitive information to the client. Such...
Feb 03, 2020 Java Comments 0

Activate Sublime Text 3 with free License Key

Sublime Text is a cross-platform editor that supports Windows, Linux and Mac systems. Not at all lik...
Feb 02, 2020 IDE Comments 0

Using activation code to register JetBrains products (Updated in Oct 22)

JetBrains is a cutting-edge software vendor specializing in the creation of intelligent development ...
Jan 31, 2020 IDE Comments 0

Settings properties file to display utf-8 encoding in Intellij Idea

When developing i18n international multilingual using java, * .properties files are often used to st...
Jan 29, 2020 IDE Comments 0