How to Unlink File in Laravel?
Now let's see how to unlink file in Laravel.
Spatie Permission: The Ultimate Laravel Security Toolkit
The role:admin middleware from 'role' => SpatiePermissionMiddlewaresRoleMiddleware::class permits only users with Admin role to access the
Encapsulation in Java [In-Depth Tutorial]
Encapsulation is one of the fundamental concepts of object-oriented programming (OOP) and is considered essential for building robust and scalable
How to use Generics in Java? [In-Depth Tutorial]
The guide will begin by introducing the basics of generics, including the syntax and its advantages. Then, it will delve deeper into the various ways in which
How does vim split window horizontally?
Vim is a powerful and popular text editor that is widely used by programmers and developers. One of the many features that makes Vim so versatile is its
How to list recursively with 'ls'? [SOLVED]
"ls" is a command-line utility in Unix-based operating systems that allows users to list the contents of a directory. The "ls" command is a versatile tool
How to install XRDP with XFCE4 on Ubuntu?
Ubuntu is a popular Linux operating system. As with most Linux distributions, it can be used with different desktop environments (XFCE, KDE, Gnome etc). The
Difference between Interface and Abstract class
In Java, both abstract classes and interfaces are used to define abstract types. However, there are some differences between these two concepts.
How to cut video with OpenShot?
OpenShot is a free and open-source video editing software that can be used to cut, trim, and edit videos on Linux, Windows, and macOS. It provides an
How to list packages in a yum group?
Being able to list packages in a YUM group can be helpful for a variety of reasons, such as ensuring that all necessary packages are installed for a specific
Check User Online or Offline on Laravel
Here is a screenshot which shows the status of the user online or offline on Laravel, let's explore how this can be achieved using Session Tracking.
How to implement inheritance in Java?
Java Inheritance
Java instanceof [In-Depth Tutorial]
instanceof in Java is an operator that is used to check if an object belongs to a particular class or a subclass of that class. It returns a boolean value of
Java String Indexing [In-Depth Tutorial]
Java String indexing refers to the process of accessing individual characters within a string by their position or index. Each character in a string is
How to PROPERLY add sleep in Java?
Java sleep is a method used to pause the execution of a thread for a specified amount of time. It is used when you want to introduce a delay in your program
How to share folder with NFS in Ubuntu?
Developed by Sun Microsystems in 1984, NFS (Network File SystemS) is an RPC- based distributed file system structure that allows computers on the network to
Java Memory Management [In-Depth Tutorial]
Java memory management is handled by the Java Virtual Machine (JVM). The JVM allocates memory for Java objects on the heap, which is a portion of memory that
How to add quotation marks within string Java?
Quotation marks are a commonly used character in programming, especially when it comes to strings. In Java, there are two types of quotation marks that can be
How to skip a line in Java Scanner?
In Java, you can use the nextLine method of the Scanner class to read a line of input from the user. If you want to skip a line, you can simply call the
wget command not found
There are two possible reasons for wget command not found error. Either the wget package is not installed on your server or PATH variable is wrongly set.
HackerRank Solution: String Formatting
In this tutorial we will solve string formatting problem of python strings from hacker rank using python. We have covered 3 methods to solve this problem using
HackerRank Solution: Designer Door Mat
In thus tutorial we will solve hacker rank problem on designer door mat using python3 with following 4 methods, Solution-1: Using the map function, Solution-2: Using user-defined functions, Solution-3: Using if-else …
HackerRank Solution: Python Text Wrap
In this tutorial we cover 3 different methods to solve Python text wrap problem from hacker rank using Solution-1: Using for loop Solution-2: Using textwrap module Solution-3: Using join() method
HackerRank Solution: Python Text Alignment
There are two methods to solve text alignment problem from Hacker Rank. 1. Using user defined function, 2. Using for loop.
OSPF Configuration Explained on Cisco Router
Step by step instructions on OSPF configuration using Cisco router and examples
How to DROP connection in IPTABLES?
iptables is a GPL licensed utility that allows the Linux kernel firewall to configure IP packet filter rules. Filters are organized in different tables that
How to search SQL for column name? [SOLVED]
A database in SQL has multiple tables and each table has contain multiple columns. In SQL, We can search for a specific column name in a table by using the
HackerRank Solution: Python String Validators
Python has built-in string validation methods for basic data. It can check if a string is composed of alphabetical characters, alphanumeric characters,
HackerRank Solution: Python Find a string
In this challenge, the user enters a string and a substring. You have to print the number of times that the substring occurs in the given string. String
HackerRank Solution: Summing the N series
There is a sequence whose term nth is:

