Skip to content

Instantly share code, notes, and snippets.

View seanlanglands's full-sized avatar
👋

Sean Langlands seanlanglands

👋
View GitHub Profile
@davidsword
davidsword / http-status-codes.json
Created July 7, 2022 23:16
HTTP STATUS CODES IN .JSON parsed from https://github.com/waldemarnt/http-status-codes . forked text a little, I added prepended extras on descriptions of 301+302 for myself.
{
"100" : {
"title": "Continue",
"description": "Client should continue with request."
},
"101" : {
"title": "Switching Protocols",
"description": "Server is switching protocols."
},
"102" : {
@m-radzikowski
m-radzikowski / script-template.sh
Last active April 25, 2024 18:43
Minimal safe Bash script template - see the article with full description: https://betterdev.blog/minimal-safe-bash-script-template/
#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
@mdo
mdo / 00-intro.md
Last active March 24, 2024 08:04
Instructions for how to affix an Ikea Gerton table top to the Ikea Bekant sit-stand desk frame.

Ikea Bekant standing desk with Gerton table top