Skip to content

Instantly share code, notes, and snippets.

View windmgc's full-sized avatar
📳
エル・プサイ・コングルゥ

Keery Nie windmgc

📳
エル・プサイ・コングルゥ
View GitHub Profile
@windmgc
windmgc / status_code_analysis.lua
Created April 8, 2023 09:34 — forked from non-static/status_code_analysis.lua
Lua script for wrk2 to count response code and a particular header
wrk.method = "POST"
local f = io.open("data.json", "r")
wrk.body = f:read("*all")
wrk.headers["Content-Type"] = "application/json"
wrk.headers["Host"] = "foo.bar.net"
local counter = 1
local threads = {}
@windmgc
windmgc / conventional_commit_messages.md
Created September 1, 2022 14:45 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@windmgc
windmgc / githubpull.md
Created July 22, 2022 13:07 — forked from Jabarabo/githubpull.md
Gist of a stolen gist
@windmgc
windmgc / common_libs.sh
Created June 13, 2021 04:08
Shell common libs
#### CHECK WHOAMI ####
check_user()
{
if [ "root" != "`whoami`" ]; then
echo "Only root can execute this script"
exit 2
fi
}
check_user
@windmgc
windmgc / gist:8c6ca422a658fb63683562c929982878
Created February 20, 2021 06:02
How to set github actions user & email
https://github.com/actions/checkout/issues/13#issuecomment-724415212