Skip to content

Instantly share code, notes, and snippets.

@onomatopellan
onomatopellan / waydroidwsl2.md
Last active December 5, 2025 08:26
Waydroid in WSL2 with sound (Weston on top of Weston approach)

Waydroid in WSL2 with sound

Requirements

Recommended to install Waydroid in a brand new Ubuntu 25.04 install. Waydroid needs a custom linux kernel. Actually just needs latest kernel for WSL2 with just these changes before compiling:

CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
@FreddieOliveira
FreddieOliveira / docker.md
Last active December 6, 2025 19:40
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@oofnikj
oofnikj / answerfile
Last active December 5, 2025 18:17
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@AdamCummick
AdamCummick / FACTS_ES2_ANALOG_WEBSERVER.ino
Last active October 20, 2023 01:24
Create a webpage to display analog readings with the P1AM-100
/*
FACTS P1AM Example Series #2 - Web Server Analog Input
This example uses the P1AM-ETH shield to create a webserver that displays the input values of a P1-04ADL02 to a webpage.
You can visit this webpage by entering it's IP address in a browser. the default address is 192.168.1.177.
This page will display the readings of all 4 channels in volts and in counts.
You can find information on the P1-04ADL-2 and other modules here: https://facts-engineering.github.io/modules/P1-04ADL-2/P1-04ADL-2.html
The analog input module we used is the P1-04ADL-2, though you can easily use any analog or discrete module as long as you tweak
@AdamCummick
AdamCummick / FACTS_ES1_MQTT.ino
Created January 30, 2020 21:06
FACTS P1AM Example Series #1 - MQTT Call and Response
/* FACTS P1AM Example Series #1 - MQTT Call and Response
*
* This example uses an MQTT broker to update the outputs of a P1-08TRS
* to the inputs of a P1-08SIM. You can easily switch these out for any
* discrete input or output module.
*
* I used shiftr.io for this example. This is a free MQTT broker that provides
* nice visualisation and is great for testing. If you want to use a different broker,
* just update the broker string to the proper URL and update any login credentials
*