Skip to content

Instantly share code, notes, and snippets.

@dayne
Last active September 28, 2024 02:31
Show Gist options
  • Save dayne/cbeea58f8489e5930d9885a092320981 to your computer and use it in GitHub Desktop.
Save dayne/cbeea58f8489e5930d9885a092320981 to your computer and use it in GitHub Desktop.
Neoterra

Save Neoterra

In the neon-lit streets of Neoterra, where skyscrapers pierce the smog and the hum of cybernetic implants fills the air, a hidden war rages. The future teeters on the edge of oblivion, and the key to saving it is not in powerful weapons, nor in the minds of the most brilliant hackers, but in a set of absurd, nonsensical scripts scattered across the darkest corners of the Net. These scripts, seemingly a jumble of random commands—wiggle_dog();, reverse_socks();, unicorn_dance_loop();—hold the only solution to an impending timeline collapse. Each command executed nudges the fragile reality into place, holding back the tide of chaos from rewriting existence itself.

But here's the catch: no one knows why these scripts work. Some believe they’re the remnant of an ancient AI trying to communicate through corrupted code, others say they’re the handiwork of a deranged coder from a forgotten era. What is clear, however, is that the more ridiculous the command, the more critical its role in preventing the apocalypse. It’s not just about saving the world from rogue AIs or collapsing infrastructures—run coffee_boiler_rewind();, and suddenly the global climate shifts by 0.2 degrees back to stability. Execute rainbow_laser_panda();, and a timeline where humanity never invents the wheel is corrected in an instant.

The call to arms is now. The scripts may seem trivial, even laughable, but without them, the timeline fractures beyond repair. The fate of everything hangs on a community of runners willing to embrace the absurdity and execute the code. Download the scripts, run them on your devices, and take on the most ludicrous battle for the future ever imagined. Because in this reality, the silly is serious, and the impossible is our only hope. Run the scripts. Save the future.

#!/usr/bin/bash
#
# no need to worry about why -- just embrace you are
# helping save the future with this script
if ! command -v gum > /dev/null; then
if command -v go > /dev/null; then
echo "missing gum: go install github.com/charmbracelet/gum@latest"
else
echo "missing gum .. and missing go"
echo "fix this by .. installing go-lang"
echo "https://gist.github.com/dayne/63c53402f0045d2c856ac9400bd303bc"
fi
fi
if ! command -v lolcat > /dev/null; then
echo "missing lolcat fun ... sad for you"
echo "falling back to just cat ... no lols for you"
alias lolcat=cat
fi
clear
echo "Gum choose demo"
gum choose --no-limit "one - the first" \
"two - the second" "three - the forth" \
4 6 7 | \
awk '{print "You selected option " $1}' | lolcat
echo "... done?"
read
clear
echo "Gum choose demo 2"
choices=$(gum choose --no-limit 1 2 3 4 5 6 7 8 9)
echo $choices
for I in $choices; do
echo "you picked $I"
sleep 1
done
for I in $choices; do
case $I in
1)
echo "You are number 1!"
;;
2)
echo "Second place is amazing"
;;
3)
echo "Three: How many boogers in your nose right now."
;;
4)
four=true
echo "the variable $four is now = $four"
;;
*)
echo "too lazy to do more..."
;;
esac
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment