Skip to content

Instantly share code, notes, and snippets.

View yonderbread's full-sized avatar
🏠
Working from home

yonderbread yonderbread

🏠
Working from home
View GitHub Profile
@Nadrieril
Nadrieril / shell.nix
Last active June 8, 2026 17:35
Building LineageOS on NixOS
# I used this shell.nix to build LineageOS 13.0 for my maguro (Samsung Galaxy Nexus GSM) phone
# The build instructions for normal Linuxes are here: https://wiki.lineageos.org/devices/maguro/build
# For NixOS, follow those instructions but skip anything related to installing packages
# Detailed instructions:
# cd into an empty directory of your choice
# copy this file there
# in nix-shell:
# $ repo init -u https://github.com/LineageOS/android.git -b cm-13.0
# $ repo sync
# $ source build/envsetup.sh
@oofnikj
oofnikj / answerfile
Last active June 5, 2026 16:03
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@themagicalmammal
themagicalmammal / Optimizations_Artix.md
Last active May 22, 2026 07:17
Set of optimizations, I use on my Artix Setup

Artix Linux — Complete System Optimization Guide

Warning: This guide contains system-level modifications. Some steps are irreversible or can render your system unbootable. Read every section fully before executing any command. Know what you are doing, or do not proceed.

All examples are written for runit. Adapt service commands for OpenRC or s6 as needed.


Index

@suberb
suberb / elementaryos.md
Last active September 6, 2025 14:29
elementaryOS | Things To Do After Installing Elementary OS Loki [Best OS For Switching From Windows & Mac]

FIRST THING FIRST


  • Update OS
sudo apt-get update && sudo apt-get upgrade

@megasaturnv
megasaturnv / parseRssFeed.sh
Last active November 18, 2024 21:51
Shell script / one-liner to parse and display an rss feed. May require tweaking for RSS feeds without newlines or where <title> and <description> are on separate lines to their text.
#!/bin/sh
#Megasaturnv 2017-07-28
#Url of the RSS feed
RSS_URL=""
##Commented version:
#Download the rss feed
curl --silent "$RSS_URL" | \
#Only match lines with 'title>' or 'description>'
input {
file {
path => [ "/data/minecraft/*/logs/latest.log" ]
tags => ["minecraft"]
}
}
filter {
if "minecraft" in [tags] {
grok {
@dequis
dequis / mcresources.py
Last active January 6, 2024 12:20
This script prints a list of URLs required to download all the minecraft resources that the new launcher can access (jars, libraries, assets) Redirect stdout to a file to do something useful with it.
"""
This script prints a list of URLs required to download all the minecraft
resources that the new launcher can access (jars, libraries, assets)
Redirect stdout to a file to do something useful with it.
Will store cached json indexes in
versions.json
versions/*.json
@e4m7g6
e4m7g6 / Music Resources.md
Created September 26, 2019 04:14
Music Resources


Digital Audio WorkstationsDigital Audio Workstations

  • Web Apps

@yonderbread
yonderbread / autoexec.cfg
Last active June 13, 2021 04:27
My CS:GO config
// CROSSHAIR
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.0"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.300000"
cl_crosshair_dynamic_splitdist "5"
cl_crosshair_friendly_warning "1"
cl_crosshair_outlinethickness "0.5"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
#!/bin/bash
# Clean up previous directories
rm -rf aseprite
# Update packages
sudo apt update && sudo apt upgrade -y
# Install dependencies and other packages
sudo apt install -y aria2 g++ wget git unzip cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev
# Delete old deps directory if it exists and cd into it