Category: OYB software

ARM, debian, linux, networking, OYB software, qemu, raspberrypi

Raspbian on QEMU with network access

This is a little guide to emulate the Raspbian operating system for ARM on QEMU with network connectivity. I found most resources on this outdated, relying on broken links, and lacking the steps for network access, so I reviewed them and streamlined the process. Long story short If you haven’t yet, install QEMU on your …

OYB software, raspberrypi

Control your Raspberry Pi with your TV remote

  This little script will allow you to control your Raspberry Pi using the buttons in your regular TV remote. Usage You can press the following buttons on the remote. OK       – launch kodi up       – launch browser down  – change wallpaper (this is a custom script of mine) left      – suspend your desktop computer …

OYB software, shell

List files without stopping to type in zsh

This zsh widget allows you to list files in the current directory without interrupting the command you are typing. Usage Hit <tab>  in the middle of any command. It will list all files below the command line. Hit <space><tab>  on an empty command line. It will list directories. Hit <space><space><tab>  on an empty command line. It will …

git, OYB software

Completely remove a file from a git repository with git forget-blob

Usage git forget-blob file_to_forget Installation Get the script from github and make it executable. To do it in one step, paste the following on your terminal sudo wget https://raw.githubusercontent.com/nachoparker/git-forget-blob/master/git-forget-blob.sh -O /usr/local/bin/git-forget-blob sudo chmod +x /usr/local/bin/git-forget-blob If you don’t like installing to /usr/local/bin  using sudo ,  just copy git-forget-blob  wherever you like. It will work as long …

OYB software, shell

Smart tmux sessions

Usage Instead of tmux just type start_tmux Installation Get the code from github, and append it to your .zshrc or .bashrc. To do it in one step, paste in zsh wget https://raw.githubusercontent.com/nachoparker/smart-tmux-sessions/master/start_tmux.sh -O – >> ~/.zshrc , or in bash wget https://raw.githubusercontent.com/nachoparker/smart-tmux-sessions/master/start_tmux.sh -O – >> ~/.bashrc New shell sessions will automatically start or resume a …