Skip to content

Instantly share code, notes, and snippets.

View StealthBadger747's full-sized avatar

Erik Parawell StealthBadger747

View GitHub Profile
# Smart Health Card decoder
# This decodes the SHC url thing that is stored in smart health card QR codes
str = DATA.readline
require "base64"
require "zlib"
require "json"
require "pp"
#!/bin/bash
# This script is used to check and update your GoDaddy DNS server to the IP address of your current internet connection.
# This differs from the one mcarpenterjr created because you can update multiple A Records.
# Special thanks to mcarpenterjr for his derivative of mfox's ddns powershell script
# https://gist.github.com/mcarpenterjr/1dedf9f9f842710ba5f07937ef4f5ae4
# Special thanks to mfox for his ps script
# https://github.com/markafox/GoDaddy_Powershell_DDNS
#
# First go to GoDaddy developer site to create a developer account and get your key and secret
@AasSuhendar
AasSuhendar / nginx-tuning.md
Created September 19, 2021 06:23 — forked from denji/nginx-tuning.md
NGINX tuning for best performance

Moved to git repository: https://github.com/denji/nginx-tuning

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.