Page 29 of 58

How to change shell echo command color in linux

Last updated on February 21st, 2022 at 07:47 amWe are going to discuss in detail how to change output color of shell echo command in linux, This is list of color codes for mostly used colors like White, Red, Yellow, Grey etc., How to implement this? It is very simple, Inside your shell script declare […]

Calculate number of days between two dates PHP

Last updated on November 7th, 2024 at 08:34 amPHP Date Functions Explained, calculate the Days Between Two Dates with Ease, You have the option to input the dates manually or provide them dynamically. In conclusion, this PHP code snippet effectively demonstrates how to calculate the number of days between the current date and a specified […]

How to create simple horizontal menu using css

Last updated on February 14th, 2023 at 09:15 amIn this tutorial we are going to create 3 different types of menu. One with simple color background and an image background, the other will be a drop down menu with examples. Simple Background Starting with the styling section, Create a file named menu.html and add the […]

How to get current date and time using perl

Last updated on November 11th, 2024 at 11:31 amOne effective way to show the server’s date and time in Perl is by using the functions sprintf and localtime. While there are several ways to retrieve the date, I am choosing the simplest method to get the current date with Perl. We are also using strftime […]

« Older posts Newer posts »