Library

All tutorials

Every Liberian Geek guide, newest first. Browse by topic from the menu, or search for the task you need.

1,384 guides · page 11

Install Discord on Debian 12

Discord is a popular communication platform that lets users chat via text, audio, or video. It can also host communities where multiple users can intercommunicate with other users instantly. Users use it on their favorite operating systems because it is so popular...
Install and Use Ping on Debian 13 and 12

Install and Use Ping on Debian 13 and 12

On Debian 13 (Trixie) and Debian 12 (Bookworm), ping is provided by the iputils-ping package. Install it with sudo apt install iputils-ping and test it with ping -c 4 debian.org. Minimal server and container images often ship without it, which is why you may see ping:...

What is Object Type Casting in Java?

Object Type Casting is a very important and tricky concept in Java. It allows the objects of subclasses to be treated as objects of their corresponding superclass, promoting code reusability and flexibility. Performing typecasting means accessing the subclass-specific...

How to Use Thread.sleep() Method in Java?

A single program or application is the combination of several small operations or tasks performed behind the scenes. These small chunks of code or operation are referred to as threads. There can be more than one thread running to perform a single task at the same...

How to Compare Enum Members in Java?

In Java, the “enum” or “enumeration” acts as a group to store a fixed or variable set of constants or methods. They are used when the user knows all possible options at the compile time, like the direction, weekdays, and so on. The “enum” is a special class that...

How to Check if an Object is Null in Java?

Java is a dynamic OOP language that allows data structures like Lists, arrays, variables, and many more to store data. Each created data structure has a specific data type allowing users to enter only specific types of data like numbers or characters. However, with...

Get the Current Year in Java

In Java, the built-in classes like Clock, Instant, LocalDate, OffsetDateTime, YearMonth, etc. offer various functions to get the current year. These classes access and manipulate dates and times using local or specific time zones. Also, these Java classes help us...

How to Use Java ArrayList forEach() Method?

ArrayLists are similar to Java arrays but with dynamic length. The ArrayList grows and shrinks according to the data storage requirement. Each element in ArrayList is stored at a specific and unique index. You can traverse the indexes of ArrayList in a sequence to...

What is java.time.LocalTime Class in Java?

In the field of development, Local Time is utilized for various purposes, such as it helps in retrieving the execution time, request, or response time. Moreover, using the Local Time we can schedule jobs or threads to perform multiple tasks in an orderly manner. To...

Java Thread.join() Method with Examples

Every task or operation performed by OS is done using the Threads. A single program may have one or more Threads as per requirements. These Threads allow users to achieve parallelism and perform tasks more quickly without the chance of losing the data. Most of the...