# Add the remote, call it "upstream": git remote add upstream https://github.com/whoever/whatever.git # Fetch all the branches of that remote into remote-tracking branches, # such as upstream/master: git fetch upstream # Make sure that you're on your master branch: git checkout master # Rewrite your master branch so that any commits of yours that # aren't already in upstream/master are replayed on top of that # other branch: git rebase upstream/master # And finally push your local updated copy to GitHub: git push
To determine the websocket frame type you can use the following comparisons:
e.data instanceof ArrayBuffer
e.data instanceof Blob
typeof e.data === "string"
Install Pi-hole Ad Detection Display on your rPi.
- Get your touchscreen display working.
Boot Options -> DeskTop / CLIto
- Download PADD and make executable:
wget -N https://raw.githubusercontent.com/jpmck/PADD/master/padd.sh
sudo chmod +x padd.sh
- Start PADD with
- Exit with
Follow these steps to use a 3.5 inch touchscreen on your rPi.
- Update your system with
sudo apt-get update && sudo apt-get upgrade
raspi-configand go to
Interfacing Optionsand enable the SPI interface.
- Download LCD-show van Github:
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
- Enter the folder you just cloned with
Now all you have to do is start the script for your LCD type.
For a 3.5″ display you run
The system will install/setup the LCD and reboot with the LCD as display.
To switch back to HDMI:
To use the HDMI port again, go to the
LCD-show folder and run
sudo ./LCD-hdmi to switch back to HDMI.