This script copies and converts all files in source directory recursively to the destination directory and sets the encoding to UTF-8. The source file will not be touched or changed. Some tools require a certain file encoding especially when it comes to special characters. Ple
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
@echo off | |
:LOOP | |
cls | |
set hr=%time:~0,2% | |
if "%hr:~0,1%" equ " " set hr=0%hr:~1,1% | |
REM SET LOGFILE=%date:~-4,4%_%date:~-7,2%_%date:~-10,2%__%hr%_%time:~3,2%_%time:~6,2%.log | |
SET LOGFILE=%date:~-4,4%_%date:~-7,2%_%date:~-10,2%__%hr%_%time:~3,2%.log | |
echo. |
https://wmatthyssen.com/2019/09/18/hyper-v-automatic-virtual-machine-activation/
PowerShell Direct from the Hyper-V host to activated a specific AVMA key for a VM running on that host. Open a PowerShell window (as Administrator) on the Hyper-V host and run following command:
Invoke-Command -VMName "vm-tmpl-W2k19" -ScriptBlock {slmgr /ipk TNK62-RXVTB-4P47B-2D623-4GF74}
- iPrima (Remove advertising from video)
- Vodafone TV (Allow Rewind & Forward)
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html
# Check whether the volume has a partition. Use the lsblk
sudo lsblk
# Extend the partition. Use the growpart
sudo growpart /dev/sda 1 --dry-run
# Verify that the partition has been extended.
Source: https://waylonwalker.com/docker-minecraft-server/
# Start server
docker compose up -d
# Update server to latest version
docker-compose down
docker compose pull
docker-compose up --force-recreate --build -d
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
<!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>Send POST data on redirect</title> | |
</head> | |
<body> | |
<script> |
- Open cmd (run as administrator), then use
dism /online /set-edition:serverstandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula