Skip to content

Instantly share code, notes, and snippets.

View eat-sleep-code's full-sized avatar

<eat-sleep-code/> eat-sleep-code

View GitHub Profile
@eat-sleep-code
eat-sleep-code / .bash_aliases
Last active December 30, 2023 16:58
Bash aliases to handle common tasks on a Raspberry Pi
alias health='/bin/vcgencmd measure_temp; echo "----------"; free --mega; echo "----------"; df -Bm'
alias shutdown='sudo shutdown now'
alias update='sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt autoclean'
alias update-npm='sudo npm install npm -g && sudo npm update -g && sudo npm update'
#alias microscope='ffplay -f v4l2 -video_size 1280x720 -i /dev/video0'
@irae
irae / _Stay_standalone.md
Last active April 17, 2025 15:49 — forked from kylebarrow/example.html
Stay Standalone: Prevent links in standalone web apps opening Mobile Safari

#Stay Standalone

A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.