- Tested on
- OneUI 4.x/5.x based Stock/Custom ROMs.
- GSI with OneUI 4.x/5.x stock firmware.
- Front Camera Does not work.
- 0.5x, 1x and 3x lenses work.
# Views | |
class UserProfileViewSet(BaseModelViewSet): | |
"""View set for the UserProfile.""" | |
ENABLE_LIST = True | |
ENABLE_RETRIEVE = True | |
ENABLE_PARTIAL_UPDATE = True | |
ENABLE_PAGINATION = True | |
LIST_CACHE_KEY = "users:user-profiles-list" |
QEMU
tab and scroll to the bottom.New...
-chardev socket,port=4321,host=127.0.0.1,server,nowait,id=qga0
-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0
#!/bin/bash | |
set -eo pipefail | |
pull_image() { | |
if ! docker inspect $1 ; then | |
docker pull $1 | |
fi | |
docker inspect $1 | |
} |
# This fits my needs, some logic could/should be added so let me know if you figure it out | |
# I deliberarly de-coupled lights and mist | |
# Most of my useage comes from automations that trigger actions, I have a single mist on/off switch in HomeAssistant UI | |
substitutions: | |
devicename: asakuki | |
esphome: | |
name: $devicename | |
platform: ESP8266 |
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.
# This extracts all the code from a set of Doxygen generated documentation | |
# where the code is embedded and highlighted. You really only need to use this | |
# when attempting to recover lost code and you still have the docs. | |
# Writes all code out into the original directory structure relative to where | |
# the script is executed. | |
# Run: `python extract_code_from_doxygen.py URL_TO_DOXYGEN_FILES_PAGE` | |
# e.g. `python extract_code_from_doxygen.py http://swf2svg.sourceforge.net/azar/doc/files.html` |
#!/bin/sh | |
# Script for installing Hyperion.NG release on LibreElec | |
# Examples of usage: | |
# Download and install latest Hyperion.NG release: libreelec.sh | |
# Download an specific Hyperion.NG release: libreelec.sh 2.0.0-alpha.6 | |
# Install an specific Hyperion.NG release tar.gz file: libreelec.sh /storage/deploy/Hyperion-2.0.0-alpha.7-Linux-armv7l.tar.gz | |
#Set welcome message | |
echo '*******************************************************************************' | |
echo 'This script will install Hyperion.NG on LibreELEC' |
#!/bin/bash | |
set -e; | |
# Set up a single-node Kubernetes system on Debian 10 (Buster). | |
# Use Flannel as the network fabric. Install the Kubernetes | |
# dashboard. | |
# disable swap | |
swapoff -a; |