Create file /etc/systemd/system/[email protected]
[Unit]
Description=%i service with docker compose
# Requires=docker.service
# After=docker.service
homeassistant: | |
external_url: "https://homeassi.local" | |
internal_url: "http://192.168.178.1:8123" | |
automation: | |
- alias: "Turn On Living Room TV with WakeOnLan" | |
trigger: | |
- platform: webostv.turn_on | |
entity_id: media_player.tv | |
action: |
#!/bin/sh -eu | |
# Make sure we have wget or curl | |
available () { | |
command -v "$1" >/dev/null 2>&1 | |
} | |
if available wget; then | |
DL="wget -O-" | |
DL_SL="wget -qO-" | |
elif available curl; then |
Create file /etc/systemd/system/[email protected]
[Unit]
Description=%i service with docker compose
# Requires=docker.service
# After=docker.service
Goal: Emulate a Raspberry Pi with QEMU in order to run the Raspbian O/S (based on Debian Linux).
The current setup is not ideal. For one thing, the maximum RAM allowed using the "versatile-pb" firmware is 256 Mb. In addition, only the most basic peripherals, a keyboard and mouse, are supported.
A number of articles have been written on this topic. Most are outdated, and the few recent ones are missing key information.
As often happens, I found the official documentation and forum answers to be "close, but no cigar", and so had to experiment a little to get things working.
The main problem for me was a lack of concrete configuration examples. That's not entirely GitHub's fault: having migrated from Google Domains to Namecheap in the middle of this project, I was once again reminded of how many different ways there are to do things in the name service universe [1].
Although you'd think the simplest setup would be to merely configure for the subdomain case (https://www.example.com), in my experience using the apex domain (https://example.com) instead resulted in fewer complications.
So here's my recipe for using a custom domain with GitHub pages where Namecheap is the DNS provider:
#! /bin/bash | |
# Read useful data | |
clear | |
echo "[ ] 0%" | |
date=$(date "+%Y-%m-%d-%H-%M") | |
clear | |
echo "[# ] 5%" | |
user=$(whoami) | |
clear |
defaults read MobileMeAccounts Accounts |
lsof -Pn -i4 | grep LISTEN |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 |