Skip to content

Instantly share code, notes, and snippets.

View kdorff's full-sized avatar

Kevin Dorff kdorff

View GitHub Profile
@kdorff
kdorff / docker-compose-on-proxmox-alpine-container.txt
Last active April 27, 2023 15:51
Notes for installing and running a docker-compose stack on a Proxmox Alpine Container.
Notes for my video https://www.youtube.com/watch?v=DFZDAL6lVSU
apk add --update openrc openssh
rc-update add sshd
service sshd start
adduser kevin
apk add sudo
vi /etc/sudoers
INFO ESPHome 2023.6.4
INFO Reading configuration /config/esphome/guest-time-temp-esp32.yaml...
INFO Detected timezone 'America/Chicago'
INFO Generating C++ source...
INFO Compiling app...
Processing guest-time-temp-esp32 (board: esp32dev; framework: arduino; platform: platformio/espressif32@5.3.0)
--------------------------------------------------------------------------------
Library Manager: Installing esphome/AsyncTCP-esphome @ 1.2.2
INFO Installing esphome/AsyncTCP-esphome @ 1.2.2
Downloading [####################################] 100%
@kdorff
kdorff / time.ps1
Created March 12, 2024 20:30
Function to time an execution using powershell
function time {
Param(
[Parameter(Mandatory=$true)]
[string]$command,
[switch]$quiet = $false
)
$start = Get-Date
try {
if ( -not $quiet ) {
iex $command | Write-Host