Skip to content

Instantly share code, notes, and snippets.

View nosmall's full-sized avatar

Jirka aka NOsmall or NoSmallCZ nosmall

View GitHub Profile
@nosmall
nosmall / windows_server_optionals.md
Last active April 18, 2023 12:04
Windows SERVER - Volitelné možnosti po instalaci

Windows SERVER - Volitelné možnosti po instalaci

Nastavení, aby se display nikdy nevypnul

*PowerShell

v režimu připojení k elektrické síti (AC)
powercfg -change -monitor-timeout-ac 0

režimu na baterii (DC)
powercfg -change -monitor-timeout-dc 0
@nosmall
nosmall / Switch_the_Network_Profile.md
Created April 16, 2023 13:46
Windows - Switch the Network Profile to Public or Private

Windows - Switch the Network Profile to Public or Private

*PowerShell with Admin Rights

Get Network Name:

Get-NetConnectionProfile

Replace Network Name:

@nosmall
nosmall / Win_Server_2022_Evaluation_to_full_version.md
Created April 16, 2023 11:11
Upgrade Windows Server 2022 Evaluation (Eval) to Full Version Standard or Datacenter
@nosmall
nosmall / index.html
Created January 6, 2023 09:59
Send POST data on redirect
<!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>
@nosmall
nosmall / Running a Minecraft Server in Docker.md
Last active June 13, 2024 15:22
Running a Minecraft Server in Docker

Running a Minecraft Server in Docker

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
@nosmall
nosmall / Extend a Linux file system after resizing a volume.md
Last active December 9, 2023 12:52
Extend a Linux file system after resizing a volume
@nosmall
nosmall / iPrima, Vodafone TV.md
Last active October 29, 2023 19:10
iPrima (Remove advertising from video), Vodafone TV (Allow Rewind & Forward)
@nosmall
nosmall / rclone-srv52.service.md
Last active December 10, 2023 08:31
rclone-srv52.service - Mounted Rclone as service (auto start) - Ubuntu 20.04

Mounted Rclone as service (auto start) - Ubuntu 20.04

Vars

SRVRNAME=srv52
SRVCNAME=rclone-srv52.service
MNTRDRIVE=srv52crypt:
MNTPOINT=/mnt/srv52
CACHEDIR=/cache
@nosmall
nosmall / Setup Git and Github in Ubuntu 20.04.md
Last active October 21, 2024 00:17
Setup Git and Github in Ubuntu 20.04

Setup Git and Github in Ubuntu 20.04

Install git for sure

sudo apt install git -y

Setup Git username & email

git config --global user.name 'nosmall'
@nosmall
nosmall / AVMA - Hyper-V: Automatic Virtual Machine Activation..md
Last active October 23, 2021 19:58
AVMA - Hyper-V: Automatic Virtual Machine Activation

AVMA - Hyper-V: Automatic Virtual Machine Activation

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}