Home / Author Archives: Admin

Author Archives: Admin

programming all time and taking a bread for the lunch hahaha… When you are engaging your work, nobody can attract you doing another thing. Otherwise, should should move to other jobs or are not interested in your job enough.

How to add a manifest file to jar file

JAR files support a wide range of functionality, including electronic signing, version control, package sealing, and others. What gives a JAR file this versatility? The answer is the JAR file's manifest. The manifest is a special file that can contain information about the files packaged in a JAR file. By tailoring this "meta" information that the manifest contains, you enable the JAR file to serve a variety of purposes. This post will explain the contents of the manifest file and show you how to work with it, with examples for the basic features:

Read More »

Simple steps to log messages in Java programs using Log4j

This article explains a bit of the importance of application logging and log4j API in Java. The following paragraphs will give you an overview of how logging mechanism works in Java application and how use one of the common logging ...

Read More »

Unveil magic of hibernate lazy loading

SQL logging in hibernate

Recently we have discussed about the performance of retrieving collections/relations/associations inside objects. By the way, we also review the machinery that hibernate handles these relational concepts to improve the effectiveness of database operations. One of the techniques being implemented in ...

Read More »

Rename a MySQL database

Rename database in phpmyadmin

Once day you want to rename your database in MySQL for whatever reason. How can you do this idea? via phpMyAdmin From phpMyAdmin, we often rename a database by applying the following steps: Select database on the left side bar/tree ...

Read More »

How to create an Executable Jar File

How to create an executable jar file

In Java programming, it is common to combine several classes in one .jar (“java archive”) file.  Library classes are released in this fashion which these classes are packed into a single jar file so that it can be used flexible ...

Read More »

How to run JAR packaged applications

A few questions can be questioned when someone wants to learn Java programming. For example, how is its independent on working environment? How can we create a standalone program? How to run a Java program? etc. This post will answer ...

Read More »

Highlight text in LaTeX

Purpose: Use the LaTeX soul package to highlight text in a LaTeX document. Suppose you want to provide a highlight color or background color for text in a LaTeX document. A good example is when you want to highlight the ...

Read More »

Automatic, clever references with cleveref

Using Cref for citation of references

(Tiếng Việt) Tính năng này rất quan trọng vì: trong khi tạo các tham chiếu đến Table, Figure, Equation... bạn không nhớ đã ghi Table hay table hay TABLE etc. Và đó là lí do chúng ta muốn tự động hóa việc thêm các prefix phù hợp cho các đối tượng tham chiếu.

Read More »

Add plugins or extensions to LibreOffice

(Tiếng Việt) Thêm các tính năng mở rộng cho LibreOffice: Tôi có nhu cầu chuyển đổi các file văn bản .odt hoặc .doc sang dạng epub để tiện cho việc đọc trên các thiết bị chạy Android. ePub là một chuẩn mới để làm sách điện tử.

Read More »

What is GPU Process in Chrome’s Task Manager

GPU Process Chrome in Task Manager

Tieng Anh The GPU process is a process used only when Chrome is displaying GPU-accelerated content. Chrome uses GPU to accelerate web-page rendering, typical HTML, CSS, and graphics elements. In the latest chrome, even the video was offloaded to the ...

Read More »