Skip to content

Instantly share code, notes, and snippets.

View dayne's full-sized avatar

Dayne Broderson dayne

View GitHub Profile
@dayne
dayne / 0-NeoTerra.md
Last active September 28, 2024 02:31
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 prev

@dayne
dayne / README-figfont.md
Last active September 22, 2024 23:53
figlet font installer
@dayne
dayne / README.md
Last active September 21, 2024 05:09
go-lang bash.d

Tool to check for go, and help install it if needed, uses .bash.d style.

Tasks

A set of tasks to test this gist using xc

Setup

@dayne
dayne / 0-chruby.md
Last active September 25, 2024 19:03
ruby installer methods

Chruby Ruby Fun

A script for Ubuntu/Debian systems to setup ruby-install and chruby to manage your Ruby environments in that user account.

This chruby.sh script is meant to be used in a .bash.d style setup where all .bash.d/*.sh scripts are run as part of the .bashrc run.

Warning: This has been build and tested in Ubuntu/Debian environments with apt.

If you don't have .bash.d setup you can add the following line to your

@dayne
dayne / obsidian-download.sh
Created August 8, 2024 06:09
Script to download Obsidian
#!/usr/bin/bash
# Dayne Broderson 2024
# Script to check if Obsidian is available, if not, then figure out latest
# release version, download and install it
# exit if anything exits with an error (non-zero) status
set -e
if ! command -v obsidian > /dev/null; then
echo -n "Obsidian missing ... "
@dayne
dayne / fortune-loop
Last active April 16, 2024 20:53
simple wrapper around mosquitto_pub to make a line based pipe to a server+topic easier. Example usage: `fortune-loop | mlpub`
#!/usr/bin/bash
DELAY_DEFAULT=5
DELAY=${DELAY:-$DELAY_DEFAULT}
if ! command -v fortune > /dev/null; then
echo "missing fortune"
echo " fix: sudo apt install fortune-mod"
exit 1
fi
#!/bin/bash
# Script to download and then install latest .deb Discord client.
# Created 2024-01-29 by Dayne Broderson
#
# Script Overview
# 1. Sends a request to the Discord URL to get the headers and extract the
# location header, which contains the final download URL.
# 2. It extracts the desired filename from the final download URL and cleans
# up any trailing whitespace or carriage return characters.
# 3. It checks if the file with the extracted filename already exists in the
@dayne
dayne / SD-Discord.md
Created October 15, 2022 23:55
Steam Deck

Installing Discord on Steam Deck

How to install Discord on Steam Deck tutorial

  • Steam Button -> Power -> Switch to Desktop
  • Discover App (Launcher -> System Discover)
    • Applications -> Internet -> Chat
    • Scroll to Discord -> Install
  • Launcher -> Internet -> Discord
    • Scan QR code to login
  • Steam Icon (bottom right) -> Library
@dayne
dayne / loraWAN.md
Created August 23, 2022 16:43
LoraWAN

Andreas Spiess

LoRa / LoRaWAN De-Mystified

LoRa: Wireless linklayer - very low bandwidth - low battery - license free band (similiar to wifi) - no license needed to build a network (thingsnetwork). There are rules (regulations).

LoRaWAN is a protocol that uses LoRa as physical layer.

3 Parts: (Low Power) (Wide Area) (Network) = LPWAN

@dayne
dayne / dots-readme.md
Created June 20, 2022 23:12
$HOME as GIT

Managing your home's dot files as git repo an approach well documented by @durdn.

initial setup

git init --bare $HOME/.cfg
alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
cfg config --local status.showUntrackedFiles no
echo ".cfg" >> .gitignore