Skip to content

Instantly share code, notes, and snippets.

View dentolos19's full-sized avatar
🌟
Ad Astra!

Dennise Catolos dentolos19

🌟
Ad Astra!
View GitHub Profile
@echo off
cd /d %~dp0 REM change working directory to the directory of the script
pip freeze > requirements.txt
pip uninstall -y -r requirements.txt
del requirements.txt
exit
@dentolos19
dentolos19 / README.md
Last active August 24, 2023 23:24
A simple script for automatically starting and updating a minecraft server.

📜 Minecraft Server

A simple script for automatically starting a minecraft server.

This script will automatically download the latest build for the respective server version that you have configured. It will also check and auto updates to the latest build every time you run the script.

⚒️ Usage

  1. Install the required dependencies globally.
  • py -m pip install requests
import os
import random
import time
from colorama import Fore # py -m pip install colorama
MINIMUM_VALUE = 1
MAXIMUM_VALUE = 100
Set-Location $PSScriptRoot
Write-Host "PFX Certificate Creator"
Write-Host ""
Write-Host "Create a PFX certificate for use with MSIX Package Signing."
Write-Host ""
$subjectName = Read-Host "Subject Name"
$friendlyName = Read-Host "Friendly Name"
$certificateKey = Read-Host "Certificate Key" -AsSecureString