Skip to content

Instantly share code, notes, and snippets.

@vonhyd
vonhyd / .bashrc
Created May 31, 2025 07:49 — forked from baradhiren/.bashrc
Termux bashrc with common aliases and functions
#########
# Aliases
#########
# Always copy contents of directories (r)ecursively and explain (v) what was done
alias cp='cp -rv'
# List contents with colors for file types, (A)lmost all hidden files (without . and ..), in (C)olumns, with class indicators (F)
alias ls='ls --color=auto -ACF'
# List contents with colors for file types, (a)ll hidden entries (including . and ..), use (l)ong listing format, with class indicators >
alias ll='ls --color=auto -alF'
@vonhyd
vonhyd / upgrade-qidi-x-plusmax3.sh
Created January 4, 2025 03:50 — forked from nessex/upgrade-qidi-x-plusmax3.sh
Script for updating a QIDI X-Plus3 / X-Max3 to latest Klipper, Moonraker, Fluidd etc.
#!/bin/bash
## upgrade-qidi-x-plusmax3.sh
##
## Usage:
##
## ssh -u mks {printer_ip}
## curl https://gist.githubusercontent.com/nessex/7b574fbe6d965439b773d922ca1b9e05/raw -sSF | bash
##
## OR:
##