Skip to content

Instantly share code, notes, and snippets.

View NNBnh's full-sized avatar
⚠️
TypeError: Cannot read property 'status' of undefined.

NNB NNBnh

⚠️
TypeError: Cannot read property 'status' of undefined.
View GitHub Profile
@huytd
huytd / wordle.md
Last active October 14, 2025 16:24
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode:

@sebastiancarlos
sebastiancarlos / silence-autocd.sh
Last active November 15, 2024 07:55
Hack to suppress the default output of autocd in Bash.
# All my gist code is licensed under the terms of the MIT license.
# Video demo: https://www.youtube.com/shorts/ojhaUNYetsU
shopt -s autocd
# silence_autocd
# - Hack to stop autocd from printing the directory after autocd'ing.
# - Unfortunately there is no clean way to do this except messing with
# BASH_XTRACEFD, a poorly understood file descriptor that we are better not