Skip to content

Instantly share code, notes, and snippets.

View KygekDev's full-sized avatar
👀
Something great is coming very soon...!

Kygek KygekDev

👀
Something great is coming very soon...!
View GitHub Profile
@KygekDev
KygekDev / Turn off Screen.bat
Created March 9, 2022 13:59
Script to turn off screen in Windows 10/11
powershell (Add-Type '[DllImport(\"user32.dll\")]^public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)
@KygekDev
KygekDev / email-pgp-key.md
Created November 4, 2021 15:17
My email address PGP public key

My email address PGP public key

Email address: kygekdev@gmail.com

-----BEGIN PGP PUBLIC KEY BLOCK-----

xsFNBGGCqjsBEAC0l8Lp0KtHn8CEIjSGA/n+wQUjeJ9eMYqHQaPF4icU0sQv
NaUczbSJ2TZigFkDpwtJUI0bAL9aPFTqaowryzP/I3tXvTtkppEPG+OuVs3s
DRXfIbte07R+aZ//QByPGe8ELAhaoqPpH3RPzQLCydWBZ2ZzJsj1OmArwf18
@KygekDev
KygekDev / azure.md
Last active December 2, 2021 07:36

Get the latest PocketMine-MP 4 PHP binary URL from Azure DevOps

Prerequisites

You need PHP installed with HTTPS file_get_contents() feature enabled in php.ini.

Code

Make a new file named azure.php and copy the PHP code below to the file:

php

Keybase proof

I hereby claim:

  • I am KygekDev on github.
  • I am kygekdev (https://keybase.io/kygekdev) on keybase.
  • I have a public key whose fingerprint is 15B2 A4B1 D01A 953B 8470 56C8 4FAC D144 842B E5C8

To claim this, I am signing this object: