Skip to content

Instantly share code, notes, and snippets.

View larouxn's full-sized avatar

Nicholas La Roux larouxn

View GitHub Profile
#!/bin/bash
# Set the directory to start from. "." means the current directory.
START_DIR="."
# Use 'find' to locate all .aiff and .aif files, then pipe them to a 'while' loop.
# -type f: finds only files
# \( ... \): groups conditions
# -name "*.aiff" -o -name "*.aif": finds files ending in .aiff OR .aif
find "$START_DIR" -type f \( -name "*.aiff" -o -name "*.aif" \) | while read -r aiff_file; do
@larouxn
larouxn / dnf_check_for_test_updates.sh
Created June 20, 2025 10:31
Check dnf for testing updates
sudo dnf update --enablerepo=updates-testing
@larouxn
larouxn / atokatadzuke.sh
Last active February 20, 2026 15:33
🔥 atokatadzuke ✨
#        _        _         _            _           _        
#       | |      | |       | |          | |         | |       
#   __ _| |_ ___ | | ____ _| |_ __ _  __| |_____   _| | _____ 
#  / _` | __/ _ \| |/ / _` | __/ _` |/ _` |_  / | | | |/ / _ \
# | (_| | || (_) |   < (_| | || (_| | (_| |/ /| |_| |   <  __/
#  \__,_|\__\___/|_|\_\__,_|\__\__,_|\__,_/___|\__,_|_|\_\___|
#                                                             
#                                                             
# ascii art thanks tro https://calligraphy.geopjr.dev/
# 後片付け | https://jisho.org/word/%E5%BE%8C%E7%89%87%E4%BB%98%E3%81%91
# GNOME 47
gsettings set org.gnome.desktop.interface font-name 'Cantarell 11'
gsettings set org.gnome.desktop.interface monospace-font-name 'Source Code Pro 10'
# GNOME 48
gsettings set org.gnome.desktop.interface font-name 'Adwaita Sans 11'
gsettings set org.gnome.desktop.interface monospace-font-name 'Adwaita Mono 11'
git -c sequence.editor=true rebase --autosquash -i main
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECow
LjAyMDQzMzY4ODU0IDAuMDE2MjMyMjQwOTUgMC4wMTYzMzcwNDA4MQAQAoAC0hAREhNa
JGNsYXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFy
@larouxn
larouxn / rebasecity.sh
Last active February 20, 2026 15:33
🚢 rebasecity branch_name 🚀
#           _                         _ _         
#          | |                       (_) |        
#  _ __ ___| |__   __ _ ___  ___  ___ _| |_ _   _ 
# | '__/ _ \ '_ \ / _` / __|/ _ \/ __| | __| | | |
# | | |  __/ |_) | (_| \__ \  __/ (__| | |_| |_| |
# |_|  \___|_.__/ \__,_|___/\___|\___|_|\__|\__, |
#                                            __/ |
#                                           |___/ 
#
# ascii art thanks tro https://calligraphy.geopjr.dev/
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean