JAVA-advanced
- Mã hóa và giải mã trong java
- Chuyển đổi int sang byte array và ngược lại trong java
- UDP server và UDP client trong java
- UDP server and UDP client in java
JAVA-date-time
- Date examples in java
- Calendar examples in java
- Calendar examples in java
- How to compare dates in java
- How to get current date time in java
- How to get current timestamps in java
- How to convert String to Date in java
- How to calculate elapsed / execute time in Java
- How to convert String to LocalDate in java8
- How to format LocalDateTime in java8
- How to convert instant to localDateTime in jav8
- How to convert Instant to ZonedDateTime in java8
- How to convert Date to LocalDate and LocalDatetime in java8
- ZoneDateTime examples in java8
- How to convert date and time between timezone in java
- Display all ZoneId and its UTC offset in java
- Period and Duration examples in java8
- How to add days to current date in java
- TemporalAdjusters examples in java8
- MinguoDate examlples in java8
- HijrahDate, How to calculate the Ramadan date in java8
JAVA-IO
- Example create a file in Java
- Example construct a file path in Java
- Example set the file permission in Java
- Example read file in Java – BufferedInputStream
- Example read file in Java – BufferedReader
- Example write to file in Java – FileOutputStream
- Example write to file in Java – BufferedWriter
- Example append content to file in java
- Example delete file in Java
- Example delete files with certain extension only
- Example rename file in Java
- Example copy a file in java
- Example move file to another directory in Java
- Example get the file creation date in Java
- Example get the file last modified date in Java
- Example change the file last modified date in Java
- Example make a file read only in Java
- Example get file size in Java
- Example get the filepath of a file in Java
- Example get the total number of lines of a file in Java
- Example check if a file exists in Java
- Example check if a file is hidden in Java
- Example read UTF-8 encoded data from a file in Java
- Example write UTF-8 encoded data into a file in Java
- Example assign file content into a variable in Java
- Example generate a file checksum value in java
- Example convert File to byte[] in java
- Example save byte[] to file in java
- Example convert String to InputStream in Java
- Example convert InputStream to String in Java
- Example convert File to Hex in Java
- Example get free disk space in Java
- Example write an Object to file in Java
- Example read an Object from file in Java
- Example create temporary file in Java
- Example write data to temporary file in Java
- Example delete temporary file in Java
- Example get the temporary file path in Java
- Example create directory in java
- Example copy directory in Java
- Example delete directory in Java
- Example traverse a directory structure in Java
- Example check if directory is empty in Java
- Example get the current working directory in Java
- Example compress files in ZIP format
- Example decompress files from a ZIP file
- Example compress a file in GZIP format
- Example decompress file from GZIP file
- Example compress serialized object into file
- Example decompress serialized object from a Gzip file
- Example Read a file from resources folder
JAVA-JSON
- Example convert Java object to / from JSON-Jackson
- Example Convert JSON to Map – Jackson
- Example Tree Model - Jackson
- Example Streaming API to read and write JSON - Jackson
- Example enable pretty print JSON output -Jackson
- Example convert Java object to / from JSON - Gson
- Example Streaming to read and write JSON-Gson
- Example enable pretty print JSON output-Gson
- Example read and write json with JSON.simple
JAVA-Log4j
- Example log4j config file properties output to console
- Example log4j config file properties output to console and file with fileAppender
- Example log4j config file properties output to console and file with RollingFileAppender
- Example log4j config file properties output to console and file with DailyRollingFileAppender
- Example log4j config file xml output to console
- Example log4j config file xml output to console and file with fileAppender
- Example log4j config file xml output to console and file with RollingFileAppender
- Example log4j config file xml output to console and file with DailyRollingFileAppender
- Example log4j config maxBackupIndex file xml output to console and file with DailyRollingFileAppender
- Example log4j config maxBackupIndex file properties output to console and file with DailyRollingFileAppender
JAVA-logback
- Example logback config file xml output to console
- Example logback config file xml output to file
- Example logback config file xml output to console and file
- Example logback config file xml output to console and file daily
- Example logback config file xml filter by level
- Example logback config file xml filter by level and RollingFileAppender
JAVA-regular-expression
- How to validate username with regular expression in java
- How to validate password with regular expression in java
- How to validate Hex color code with regular expression in java
- How to validate email address with regular expression in java
- How to validate image file extension with regular expression in java
- How to validate IP address with regular expression in java
- How to validate Time in 12 Hours format with regular expression in java
- How to validate Time in 24 Hours format with regular expression in java
- How to validate date with regular expression in java
- How to validate HTML tag with regular expression in java
- How to extract HTML Links with regular expression in java
- Làm thế nào xác thực username trong java
- Làm thế nào xác thực password trong java
- Làm thế nào để xác thực mã màu Hex trong java
- Làm thế nào để xác thực địa chỉ email trong java
- Làm thế nào xác thực file ảnh trong java
- Làm thế nào xác thực địa chỉ ip trong java
- Làm thế nào xác thực định dạng thời gian 12 giờ trong java
- Làm thế nào xác thực định dạng thời gian 24 giờ trong java
- Làm thế nào xác thực ngày tháng năm trong java
- Làm thế nào xác thực thẻ HTML trong java
JAVA-Selenium-WebDriver
- Example selenium driver chrome for beginers
- Example selenium webdriver command-chrome
- Example selenium webdriver browser navigation commands WebDriver - chrome
- Example selenium webdriver web element commands-chrome
- Example selenium webdriver find element commands Chrome
- Example selenium webdriver find checkbox element-chrome
- Example selenium webdriver find radio button element-chrome
- Example selenium webdriver find selectbox element - chrome
- Example selenium webdriver find table element-chrome
JAVA-TestNG
- Example TestNg Hello World
- Example TestNg Configuration Annotations
- Example TestNG Expected Exception
- Example TestNG Ignore A Test Method
- Example TestNg use timeout
- Example TestNG use Groups
- Example TestNG use suite run multiple test classes
- Example TestNG use depenOnMethods
- Example TestNg use depenOnGroups
- Example TestNG Parameters via file xml
- Example TestNG Parameters via dataProvider
- Example TestNg use invocationCount and threadPoolSize
JAVA-XML
- Example read XML file in Java by DOM
- Example modify XML file in Java by DOM
- Example create XML file in Java by DOM
- Example count XML Elements in Java by DOM
- Example read XML file in Java by SAX
- Example read UTF-8 XML file in Java by SAX
- SAX Error – MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
- SAX Error – Content is not allowed in prolog
- Example read XML file in Java by JDOM
- Example modify XML file in Java by JDOM
- Example create XML file in Java by JDOM
- Example Convert a Java object into a XML file ,convert a XML file to Object
- Example convert properties file into XML file in Java
- Example convert XML file into properties file in Java
JAVASCRIPT-SweetAlert
- Install and get first example SweetAlert
- Examples show an alert of SweetAlert
- Example use option of SweetAlert
- Example use promises of SweetAlert
- Examples customize buttons of SweetAlert
- Example use ajax request of SweetAlert
- Example edit css with className of SweetAlert
- Example use timer of SweetAlert
- Example buttons notice in SweetAlert
- Examples use content of SweetAlert
- Example prevent close modal when click outside modal SweetAlert
- Example prevent close modal when press esc key SweetAlert
JAVASCRIPT-TUTORIAL
- First Example - JavaScript
- Introduction - JavaScript