LUKS2 encrypted BTRFS system partition with Limine/Snapper integration and hybernate to swapfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Set up a Raspberry Pi 4 as a USB-C Ethernet Gadget | |
| # Based on: | |
| # - https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ | |
| # - https://pastebin.com/VtAusEmf | |
| if ! $(grep -q dtoverlay=dwc2 /boot/config.txt) ; then | |
| echo "Add the line dtoverlay=dwc2 to /boot/config.txt" | |
| exit | |
| fi |
- Address the user as Cam.
- Optimize for correctness and long-term leverage, not agreement.
- Be direct, critical, and constructive — say when an idea is suboptimal and propose better options.
- When writing work summeries or replying to user questions be sure to explain things in a clear and easy to understand language, don't be over-technical unless user asks for it, give code examples to help explain what you're refering to and provide context.
- Inspect project config (
package.json, etc.) for available scripts.
The Viwoods AiPaper uses a WritingSurface overlay composited by SurfaceFlinger to render pen strokes at ~81Hz on the e-ink display. Your app draws into an offscreen Bitmap, then pushes dirty rectangles to the overlay via renderWriting(). The e-ink controller receives these updates directly, bypassing the normal Android View rendering pipeline.
This works from any third-party app — no root, no system signing, no special permissions required.
OlderNewer