Skip to content

Instantly share code, notes, and snippets.

View Krit789's full-sized avatar
πŸ§‘β€πŸ³
Let me cook

Jarukrit Sripaploen Krit789

πŸ§‘β€πŸ³
Let me cook
  • King Mongkut's Institute of Technology Ladkrabang
  • Bangkok, Thailand
  • 07:46 (UTC +07:00)
View GitHub Profile
@chrisswanda
chrisswanda / WireGuard_Setup.txt
Last active July 28, 2025 19:31
Stupid simple setting up WireGuard - Server and multiple peers
Install WireGuard via whatever package manager you use. For me, I use apt.
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard
MacOS
$ brew install wireguard-tools
Generate key your key pairs. The key pairs are just that, key pairs. They can be
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active July 28, 2025 13:56
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@AgentOak
AgentOak / youtube_formats.md
Last active July 19, 2025 02:59
Youtube Format IDs

Last updated: April 2021

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

Resolution AV1 HFR High AV1 HFR AV1 VP9.2 HDR HFR VP9 HFR VP9 H.264 HFR H.264
MP4 MP4 MP4 WebM WebM WebM MP4 MP4
@sumardi
sumardi / nginx.default.conf
Last active November 2, 2024 14:29
Install PHP-FPM, Nginx & MySQL on EC2 with Amazon Linux AMI
# Install linux update, followed by GCC and Make
sudo yum -y update
sudo yum install -y gcc make
# Install Nginx and PHP-FPM
sudo yum install -y nginx php-fpm
# Install PHP extensions
sudo yum install -y php-devel php-mysql php-pdo \
php-pear php-mbstring php-cli php-odbc \