Skip to content

Instantly share code, notes, and snippets.

View adojos's full-sized avatar
🔥
Nerdy Resurrection

Tushar Sharma adojos

🔥
Nerdy Resurrection
View GitHub Profile
@adojos
adojos / crontab-commands-reference.md
Last active March 27, 2023 08:47
Linux: CronTab Commands Reference #linux

CronTab Basic Commands With Examples


Common Commands

Commands Description
crontab -e Edit crontab file, or create one if it doesn’t already exist.
crontab -l List cronjobs, display crontab file contents
@adojos
adojos / ps-shell-powershellget.md
Last active March 10, 2024 10:37
PowerShell: Upgrade/Uninstall PowerShellGet Module #powershell

Install PowerShellGet Module

The easiest way to upgrade your PowershellGet module is to run the following command:

Find-Module powershellget | Install-Module

@adojos
adojos / ps-shell-commands-reference.md
Last active March 25, 2023 13:40
PowerShell: Commands Reference #powershell

Basic PowerShell Commands (cmdlets)


Commands To Find Other Commands

Commands Description
Get-Command The Get-Command cmdlet gets all commands that are installed on the computer, including cmdlets, aliases, functions, filters, scripts, and applications. Get-Command gets the commands from PowerShell modules and commands that were imported from other sessions
@adojos
adojos / apache_singlePort_multiHost_win-hosts.md
Last active October 4, 2022 13:38
XAMPP | Apache: Config for 'windows 'hosts' file' Implementing single-port and multi-virtualHosts [Part 4 of 4]

[Part 4 of 4] Apache Single-Port & Multi-Host Windows hosts file Config


In order to have a multi-port configuration for different virtual hosts (projects, websites) on Apache in XAMPP, you need to make changes to the following 3 Apache configuration files and 1 windows host file:

1. httpd.conf (\XAMPP\apache\conf)

2. httpd-ssl.conf (\XAMPP\apache\conf\extra)

@adojos
adojos / apache_singlePort_multiHost_httpd-vhosts.conf.md
Last active September 3, 2023 07:29
XAMPP | Apache: Config for 'httpd-vhosts.conf' Implementing single-port and multi-virtualHosts [Part 3 of 4]

[Part 3 of 4] Apache Single-Port & Multi-Host 'httpd-vhosts.conf'


In order to have a multi-port configuration for different virtual hosts (projects, websites) on Apache in XAMPP, you need to make changes to the following 3 Apache configuration files and 1 windows host file:

1. httpd.conf (\XAMPP\apache\conf)

2. httpd-ssl.conf (\XAMPP\apache\conf\extra)

@adojos
adojos / apache_singlePort_multiHost_httpd-ssl.conf.md
Last active October 4, 2022 13:30
XAMPP | Apache: Config for 'httpd-ssl.conf' Implementing single-port and multi-virtualHosts [Part 2 of 4]

[Part 2 of 4] Apache Single-Port & Multi-Host 'httpd-ssl.conf' Config


In order to have multiple virtual hosts (projects, websites) running on single-port on Apache in XAMPP, you need to make changes to the following 3 Apache configuration files and 1 windows host file:

1. httpd.conf (\XAMPP\apache\conf)

2. httpd-ssl.conf (\XAMPP\apache\conf\extra) 👇 This file 👇

@adojos
adojos / apache_singlePort_multiHost_httpd.conf.md
Last active October 4, 2022 13:30
XAMPP | Apache: Config for 'httpd.conf' Implementing single-port and multi-virtualHosts [Part 1 of 4]

[Part 1 of 4] Apache Single-Port & Multi-Host 'httpd.conf' Config


In order to have multiple virtual hosts (projects, websites) running on single-port on Apache in XAMPP, you need to make changes to the following 3 Apache configuration files and 1 windows host file:

1. httpd.conf (\XAMPP\apache\conf) 👇 This file 👇

2. httpd-ssl.conf (\XAMPP\apache\conf\extra)

@adojos
adojos / apache_multiPort_multiHost_win-hosts.md
Last active September 30, 2022 22:48
XAMPP | Apache: Config for 'windows 'hosts' file' Implementing multi-ports and multi-virtualHosts [Part 4 of 4]

[Part 4 of 4] Apache Multi-Port & Multi-Host Windows hosts file Config


In order to have a multi-port configuration for different virtual hosts (projects, websites) on Apache in XAMPP, you need to make changes to the following 3 Apache configuration files and 1 windows host file:

1. httpd.conf (\XAMPP\apache\conf)

2. httpd-ssl.conf (\XAMPP\apache\conf\extra)

@adojos
adojos / apache_multiPort_multiHost_httpd-vhosts.conf.md
Last active September 30, 2022 22:47
XAMPP | Apache: Config for 'httpd-vhosts.conf' Implementing multi-ports and multi-virtualHosts [Part 3 of 4]

[Part 3 of 4] Apache Multi-Port & Multi-Host 'httpd-vhosts.conf'


In order to have a multi-port configuration for different virtual hosts (projects, websites) on Apache in XAMPP, you need to make changes to the following 3 Apache configuration files and 1 windows host file:

1. httpd.conf (\XAMPP\apache\conf)

2. httpd-ssl.conf (\XAMPP\apache\conf\extra)

@adojos
adojos / apache_multiPort_multiHost_httpd-ssl.conf.md
Last active October 5, 2022 19:14
XAMPP | Apache: Config for 'httpd-ssl.conf' Implementing multi-ports and multi-virtualHosts [Part 2 of 4]

[Part 2 of 4] Apache Multi-Port & Multi-Host 'httpd-ssl.conf' Config


In order to have a multi-port configuration for different virtual hosts (projects, websites) on Apache in XAMPP, you need to make changes to the following 3 Apache configuration files and 1 windows host file:

1. httpd.conf (\XAMPP\apache\conf)

2. httpd-ssl.conf (\XAMPP\apache\conf\extra)