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.
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
This gist was essentially created out of my own rant about Netflix being hostile to IPv6 tunnel services since June 2016. You are welcome to read my opinion on the matter, this is the more technical side to the issue and how to combat it within your own network.
Since I wrote this, various GitHub users have contributed their thoughts and ideas which has been incorporated into this gist. Thank you to everyone who have contributed their own methods and implementations.
Netflix now treats IPv6 tunnel brokers (such as Hurricane Electric) as proxy servers. A while ago it became apparent to users and Netflix that somewhat by accident, IPv6 tunnel users were being served content outside of their geolocation because of the way Netflix was identifyi
#!/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; |
# 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" |
#!/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' |
# 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 |