Skip to content

Instantly share code, notes, and snippets.

View Natetronn's full-sized avatar

Nathan Doyle Natetronn

View GitHub Profile
@Natetronn
Natetronn / romantics-vs-literalists.md
Created January 26, 2024 20:27
The Death of Romance

In a world where nuance and imagination should thrive, there exists a pervasive threat: the literalists. These individuals, who take everything at face value and harbor an aversion to ambiguity, are inadvertently suffocating the joy and wonder that should permeate our interactions and interpretations of the world. Their rigid adherence to literal meanings and their propensity to take offense at the slightest deviation from their expectations serve as barriers to creativity, empathy, and the celebration of the human experience. Nowhere is their impact more acutely felt than in their treatment of romantics, who embody the very essence of imaginative exploration and emotional depth.

Romantics, by their nature, are the dreamers, the visionaries, and the seekers of beauty in all its forms. They find inspiration in the fleeting moments of life, in the whispers of the wind, and in the subtle interplay of light and shadow. For them, the world is not merely a collection of facts and figures but a tapestry of emotions

@Natetronn
Natetronn / directus-flow-for-mulitple-unique-indexes.md
Last active July 5, 2024 22:10
Directus Flow for Multiple Unique Indexes

Directus Flow for Multiple Unique Indexes

Context:

  • owners collection

  • sellers collection

  • countries collection

@Natetronn
Natetronn / mid-top-climbing-shoes.md
Last active May 21, 2023 21:44
Mid Top Climbing Shoes

Mid Top Climbing Shoes

SCARPA - GENERATOR MID (NEW)

Over 2-years of study and research have led to the creation of the Generator Mid, the ultimate shoe for Trad Climbing. Designed for climbers who prioritize support, comfort, protection, with laser precision. From granite big walls to desert cracks the Generator offers top performance on the most serious of traditional climbs.

@Natetronn
Natetronn / Netgear-R7000P-LEDS-Startup-Script.sh
Last active May 12, 2023 00:07
Netgear R7000P LEDS Startup Script
#!/bin/sh
#
# Netgear R7000P Startup Script
#
# Ordered by physical LED, from left to right
#
# GPIO LED Notes
# 0 ?
# 1 ?
# 2 Power Enable/Disable LED (gpio enable 2 turns led off)
@Natetronn
Natetronn / grub.cfg
Created January 8, 2023 06:19 — forked from javara/grub.cfg
My own configuration file for GRUB2 to boot various live distributions of Linux-based operating systems, along with some system tools. I tried to include a lot of sample configuration entries, even if I don't currently use them, so it may help others.
# Config for GNU GRand Unified Bootloader (GRUB)
# /boot/grub/grub.cfg
# This grub.cfg file was created by Lance http://www.pendrivelinux.com
# Suggested Entries and the suggestor, if available, will also be noted.
# Sources:
# http://www.pendrivelinux.com/boot-multiple-iso-from-usb-via-grub2-using-linux/#more-5352
# https://gist.github.com/jamiekurtz/26c46b3e594f8cdd453a
# https://gist.github.com/noisufnoc/e0053d738f5fbb679535
@Natetronn
Natetronn / setup_wol.sh
Created October 10, 2022 17:13 — forked from paddy74/setup_wol.sh
Setting up wake-on-lan on Arch
#!/bin/bash
# https://wiki.archlinux.org/index.php/Wake-on-LAN
sudo pacman -Syu ethtool
# d (disabled), p (PHY activity), u (unicast activity), m (multicast activity),
# b (broadcast activity), a (ARP activity), and g (magic packet activity)
ethtool <interface> | grep Wake-on
# If not g
ethtool -s <interface> wol g
@Natetronn
Natetronn / .zshrc
Created December 20, 2021 02:03
Grub menuentry picker
# grub menuentry picker
function grub-entry () {
# Search for grub.cfg
GRUB_CFG=$(find /boot -name grub.cfg 2> /dev/null)
CUSTOM_CFG=$(find /boot -name custom.cfg 2> /dev/null)
LIVEISO_CFG=$(find /boot -name liveiso.cfg 2> /dev/null)
if [[ -z ${GRUB_CFG} ]]; then
echo "No grub.cfg found under /boot. Try as root."
exit 1
@Natetronn
Natetronn / .zshrc
Last active February 4, 2022 07:03
Linux reboot to Windows and Windows reboot to Linux scripts
# Update the GUID's for Linux and Windows
# i.e. replace gnulinux-simple-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX and efi-XXXX-XXXX with your actual GUID's
# Add this alias to either .zshrc, .bashrc, .profile etc. Don't forget to source ~/.zshrc etc. or restart
alias windows="sudo sed -i -e '/saved_entry=gnulinux-simple-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/c\saved_entry=efi-XXXX-XXXX' /boot/grub/grubenv && sudo reboot" # set menuentry to Windows 10
@Natetronn
Natetronn / custom.cfg
Last active November 21, 2021 18:11
Grub GPU Switcher
# copy the main menuentry from /boot/grub/grub.cfg and add it twice to /boot/grub/custom.cfg
# for Nvidia add the following to the end of the linux line: modprobe.blacklist=nouveau systemd.setenv=GPUMOD=nvidia rd.driver.blacklist=nouveau nouveau.modeset=0 nvidia.modeset=1
# for Nouveau add the following to the end of the linux line: modprobe.blacklist=nvidia systemd.setenv=GPUMOD=nouveau rd.driver.blacklist=nvidia nouveau.modeset=1 nvidia.modeset=0
# for example (again, adjust for your system based on your main menu entry)
menuentry 'Manjaro Linux - Nvidia' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-xxxxxxxx-xxxxxxx-xxxxxxx-xxxxx' {
savedefault
load_video
set gfxpayload=keep
@Natetronn
Natetronn / leds.startup
Last active September 16, 2023 19:24
Netgear r6700v3 LEDS Startup Script
#!/bin/sh
#
for i in 1 7 8 9 12 13 ; do gpio enable $i ; done
for i in 10 11 ; do gpio disable $i ; done
# note: et didn't exists on my device, I therefore turn on jffs support and uploaded a copy to /tmp using scp and finally moved it to /jffs
# if et exists on your device, by running et directly in cli, you can remove the /jffs/ prefix from the following commands
#
# /jffs/et robowr 0x0 0x18 0x1ff