This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Edition Product Key | |
Windows 7 Starter 7Q28W-FT9PC-CMMYT-WHMY2-89M6G | |
Windows 7 Home Basic YGFVB-QTFXQ-3H233-PTWTJ-YRYRV | |
Windows 7 Home Premium RHPQ2-RMFJH-74XYM-BH4JX-XM76F | |
Windows 7 Professional HYF8J-CVRMY-CM74G-RPHKF-PW487 | |
Windows 7 Ultimate D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV | |
Windows 7 Enterprise H7X92-3VPBB-Q799D-Y6JJ3-86WC6 | |
Windows 7 Starter N D4C3G-38HGY-HGQCV-QCWR8-97FFR | |
Windows 7 Home Basic N MD83G-H98CG-DXPYQ-Q8GCR-HM8X2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteRule ^css/(.*) /wp-content/themes/roots/css/$1 [QSA,L] | |
RewriteRule ^js/(.*) /wp-content/themes/roots/js/$1 [QSA,L] | |
RewriteRule ^img/(.*) /wp-content/themes/roots/img/$1 [QSA,L] | |
RewriteRule ^plugins/(.*) /wp-content/plugins/$1 [QSA,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming you have followed all the steps to install / setup WSL2 -> https://docs.microsoft.com/en-us/windows/wsl/install-win10 | |
**Tested on Ubuntu 20.04** | |
Step 1 - Find out default gateway and DNS servers | |
- Navigate to `Control Panel\Network and Internet\Network Connections` | |
- Right click on relevant connection type WiFi or Ethernet and select `Status` | |
- Status screen will be displayed, click on `Details` button | |
- Network Connection details screen will be displayed | |
- Note down `IPv4 default gateway` and `IPv4 DNS Servers` if available |
This requires you to be able to ssh into the instance using the root user account and that no services be running as users out of /home on the target machine.
The examples are from a default installation with no customation-you NEED to know what you're working with for volumes/partitions to not horribly break things.
By default, CentOS 7 uses XFS for the file system and Logical Volume Manager (LVM), creating 3 partitions: /
,/home
and
To backup the contents of /home, do the following:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
username = pksunkara | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta | |
[sendemail] | |
smtpencryption = tls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
# set -o xtrace | |
echo "0.- Reestablecer el contexto" | |
sudo restorecon -Rv /var/www/html | |
echo "1.- Cambiar propietario del webroot de Apache" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bash_profile is executed for login shells, | |
# .bashrc is executed for interactive non-login shells. | |
# We want the same behaviour for both, so we source .bashrc from .bash_profile. | |
# Also, when .bash_profile exists, bash ignores .profile, so we have to source | |
# it explicitly. | |
if [ -f "$HOME/.profile" ]; then | |
. "$HOME/.profile" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem This script reconfigures the Cygwin sshd service. | |
rem It regenerates the computer's host keys. This is necessary | |
rem when Sysprep is run and a new SID is generated. | |
@echo off | |
echo Stopping the Cygwin sshd service... | |
net stop sshd | |
echo ERRORLEVEL: %ERRORLEVEL% |
NewerOlder