- NoFrendo : Nes Emulator supporting save states
- PeanutGB : GameBoy emulator
- PeanutGBC : GameBoyColor emulator
- Mandelbrot : Mandelbrot set explorer
- Julia explorer : Julia and Mandelbrot explorer
| # Source: https://weworkweplay.com/play/rebooting-the-raspberry-pi-when-it-loses-wireless-connection-wifi/ | |
| # Save under /usr/local/bin/checkwifi.sh | |
| # The Raspberry Pi tends to drop network connection (especially wireless wifi) rather fast, which is a real pain when you're trying to do anything that has the RPi running constantly from a remote location (like our RaspEye does). | |
| # However, it's possible to detect wifi connection loss and perform upon it. It's easiest to just do a full system reboot. | |
| # Change the IP on the first line to the IP of your router, or some other device on your network that you can assume will be always online. | |
| # First step is to ping your IP. | |
| # On line three, the $? represents the exit code of the previous command, in this case the ping. |
With its built-in Bluetooth capabilities, the ESP32 can act as a Bluetooth keyboard. The below code is a minimal example of how to achieve it. It will generate the key strokes for a message whenever a button attached to the ESP32 is pressed.
For the example setup, a momentary button should be connected to pin 2 and to ground. Pin 2 will be configured as an input with pull-up.
In order to receive the message, add the ESP32 as a Bluetooth keyboard of your computer or mobile phone:
The included script 'widevine-flash_armhf.sh' fetches a ChromeOS image for ARM and extracts the Widevine binary, saving it in a compressed archive. Since it downloads a fairly large file (2Gb+ on disk after download) it is recommended that you run the script on a machine that has plenty of disk space.
To install the resultant archive, issue the following on your ARM machine–after copying over the archive if needed:
sudo tar Cfx / widevine-flash-20200124_armhf.tgz
(Where 'widevine-flash-20200124_armhf.tgz' is updated to reflect the actual name of the created archive)
Simple guide for setting up OTG modes on the Raspberry Pi Zero - By Andrew Mulholland (gbaman).
The Raspberry Pi Zero (and model A and A+) support USB On The Go, given the processor is connected directly to the USB port, unlike on the B, B+ or Pi 2 B, which goes via a USB hub.
Because of this, if setup to, the Pi can act as a USB slave instead, providing virtual serial (a terminal), virtual ethernet, virtual mass storage device (pendrive) or even other virtual devices like HID, MIDI, or act as a virtual webcam!
It is important to note that, although the model A and A+ can support being a USB slave, they are missing the ID pin (is tied to ground internally) so are unable to dynamically switch between USB master/slave mode. As such, they default to USB master mode. There is no easy way to change this right now.
It is also important to note, that a USB to UART serial adapter is not needed for any of these guides, as may be documented elsewhere across the int
This is list of errors and their corrections that were found after the book was published. This document is a work in progress. If you find additional mistakes in the book please email [email protected].
The following code is listed with no explanation of the === operator and how it differs from the == operator which is explained in Chapter 3 (Comparing numbers):
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| sudar@sudar-desktop:~/code/watch/openchronos-ng-modular$ mspdebug rf2500 | |
| MSPDebug version 0.18 - debugging tool for MSP430 MCUs | |
| Copyright (C) 2009-2011 Daniel Beer <[email protected]> | |
| This is free software; see the source for copying conditions. There is NO | |
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| Trying to open interface 1 on 002 | |
| rf2500: warning: can't detach kernel driver: No data available | |
| Initializing FET... | |
| FET protocol version is 30001000 |
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin