Skip to main content

Posts

How to install Nginx Proxy Manager on proxmox 8.3.2 container

How to setup babel module resolver in React with typescript ( Working Example )

  Craco Configuration Craco :     Craco stands for creating react app configuration override. It's a tool for configuring the create react app tool and overriding the default configuration. it can be used to configure eslint as well as babel. we will be using it for configuration to avoid messy imports e.ge.                         import {anycomponent} from '../../../components/anycomponent/anycomponent.js" we will be converting this import into something like :                      import {anycomponent} from '@components/anycomponent". so lets get started. Configuration :     we will be creating a new react app with a typescript template for this purpose in order to end up with a complete and running code. you will also find the link to the Github repo at the end of this tutorial. Step 1:          ...

HTML Basics

HTML :  HTML means HyperText Markup Language. It is used to create the markup for the websites. Most of the websites are structured using HTML. Then content can be structured using different kinds of elements in the websites. The elements can be wrapped inside and nested to make a perfect structure for the content of the website. The simple structure of the website looks like this : <! DOCTYPE   html > < html   lang = "en" > < head >   < meta   charset = "UTF-8" >   < meta   http-equiv = "X-UA-Compatible"   content = "IE=edge" >   < meta   name = "viewport"   content = "width=device-width, initial-scale=1.0" >   < title >Document</ title > </ head > < body >   </ body > </ html > Don't overwhelm yourself. you will understand it as you go. most of the developers don't understand the basic structure as it is created by most...

How to check whether an HTML element is inline or block level element

How to Check the element type  you can check the element type by applying the border using CSS. if the border appears on the whole page. The element will be a block-level element and if the border wraps around the content of the element only. then the element will be an inline-level element example <! DOCTYPE   html > < html   lang = "en" > < head >   < meta   charset = "UTF-8" >   < meta   http-equiv = "X-UA-Compatible"   content = "IE=edge" >   < meta   name = "viewport"   content = "width=device-width, initial-scale=1.0" >   < title >Document</ title >   < style >    p {      border :  1 px   solid   black ;   }   </ style > </ head > < body >   < p >   This is a paragraph   </ p > </ body > ...

How to Import an SSL Certificate on Windows Server

SSL certificates are essential for securing data exchanged between a server and its clients by encrypting it, making it critical for web servers, email servers, and other networked applications. This guide will walk you through the steps of importing an SSL certificate on a Windows Server, specifically using Internet Information Services (IIS). Prerequisites You should have your SSL certificate file (.pfx format recommended) and the password for it. Administrative access to the Windows Server. Step 1: Open Server Manager Log into your Windows Server as an Administrator. Open Server Manager by clicking on the Start menu and selecting "Server Manager." Server Manager is the main interface for managing server roles and features. Step 2: Open IIS Manager In Server Manager, go to the "Tools" menu in the upper-right corner. From the drop-down menu, select "Internet Information Services (IIS) Manager" . This opens IIS Manager, where you can manage websites, ap...

How to Get the Serial Number of a Disk on Windows Server

When managing multiple disks on a Windows Server, it can be helpful to identify each disk by its unique serial number. This can be useful for tracking, inventory, and troubleshooting purposes. Follow the steps below to quickly retrieve disk serial numbers using the Command Prompt. Step-by-Step Guide to Retrieving Disk Serial Numbers Open Command Prompt Log into your Windows Server as an Administrator. Click on the Start menu , type cmd , then right-click on "Command Prompt" and select "Run as administrator" . Running as an administrator is important to ensure you have the necessary permissions to access disk information. Run the Command to Retrieve Disk Details In the Command Prompt window, type the following command to gather information about each disk, including the model, serial number, index, and media type: wmic diskdrive get model,serialNumber,index,mediaType > C:\info.txt Press Enter to execute the command. This command uses Windows Management Instrumen...

How to test Internet Speed on Linux shell

DMA Softlab Radius Manager error 'pm_netcash' or ‘pm_sagepay’ fix

Unknown column 'pm_netcash' in 'field list' Below is the fix for this error. Make sure to change SQL passoword. mysql -u root -pYOUR_MYSQL_PASSWORD use radius; ALTER TABLE `rm_settings` ADD `pm_netcash` INT NOT NULL; exit Unknown column `pm_ sagepay` in 'field list' Below is the fix for this error. Make sure to change SQL passoword. mysql -uroot -pSQLPASS use radius; ALTER TABLE `rm_settings`  CHANGE `pm_netcash` `pm_sagepay` TINYINT( 1 ) NOT NULL ;