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
curl -L \ | |
-X POST \ | |
-H "Accept: application/vnd.github+json" \ | |
-H "X-GitHub-Api-Version: 2022-11-28" \ | |
https://api.github.com/markdown \ | |
-d '{"text":'"$(cat README.md | jq -s -R '.')"'}' |
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
from uuid import UUID, uuid5 | |
from hashlib import md5 | |
salt = 'SALT' | |
uid = input('Enter uid: ') | |
salt_hash = md5(salt.encode('utf-8')).digest() | |
namespace = UUID(bytes=salt_hash) | |
print(uuid5(namespace, uid)) |
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 | |
@REM To associate extension with file type | |
@REM assoc [<.ext>[=[<filetype>]]] | |
@REM To set open command for file type | |
@REM ftype [<filetype>[=[<opencommandstring>]]] | |
@REM To set up Anaconda environment. Replace PATH at the end. | |
@REM cmd.exe "/K" PATH:to\Anaconda3\Scripts\activate.bat PATH:to\env | |
@REM Get admin | |
@REM Check for permissions |