#!/bin/bash
# Specify the Windows 10 ISO to download
WIN10_ISO_URL="https://software-download.microsoft.com/download/pr/19043.1165.210529-1541.co_release_CLIENT_CONSUMER_x64FRE_en-us.iso"
# Download the Windows 10 ISO
wget -O /var/lib/vz/template/iso/Windows10.iso $WIN10_ISO_URL
# Create a new VM in Proxmox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Create a Windows 11 VM on Proxmox VE from an existing Microsoft ISO or a | |
| # temporary Microsoft download URL. The script is intentionally self-contained | |
| # so it can be hosted as a GitHub gist and run directly on a Proxmox node. | |
| set -Eeuo pipefail | |
| SCRIPT_VERSION="1.0.0" | |
| VIRTIO_VERSION="0.1.285" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "option_parser" | |
| class Vec3 | |
| x : Float32 | |
| y : Float32 | |
| z : Float32 | |
| property x | |
| property y | |
| property z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| A Bluetooth to MQTT for integrating the ChromaComfort smart bathroom fan into Home Assistant. | |
| This is an extremley rough sketch of an esp32 firmware for bringing the ChromaComfort Smart Fan into | |
| HomeAssistant. It's meant to be flashed on an esp32. | |
| This firmware allows the esp32 to both recv status updates about the fan and also issue requests to the fan. This means | |
| that Home Assistant will stay in sync even if the fan is controlled by the remote. | |
| Note that you will not be able to use your fan as a BT speaker without first unplugging the ESP32. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import asyncio | |
| import struct | |
| from bleak import BleakClient, BleakScanner | |
| from dataclasses import dataclass | |
| from datetime import datetime | |
| XOR_DECRYPTION_KEY = [1, 2, 3, 4, 5, 6] # Yes, for real | |
Owner: Taylor tmfinnell@gmail.com Tags: Build, ESPHome
Create a simple sprinkler controller with 4 zones. Each zone should have a manual watering button. The controller should integrate with ESPHome and be fully local with no cloud dependencies.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"type":"gameStatus","ts":"2019-08-23T01:02:36.269Z","inTheGame":true,"showId":12146,"prize":"$10,000","prizeCents":1000000,"currency":"USD","prizePoints":0,"extraLives":1,"extraLivesRemaining":1,"cardPlaysRemaining":0,"questionId":null,"questionNumber":0,"questionCount":25,"currentState":null,"erase1s":0,"erase1sRemaining":0,"erase1sEarned":0,"buyBackInAvailable":false,"playingStatus":"pregame","sent":"2019-08-23T01:02:36.271Z","c":1} | |
| {"type":"broadcastStats","ts":"2019-08-23T01:02:36.267Z","statusMessage":"","userId":17845506,"viewerCounts":{"connected":147199,"playing":147193,"watching":0},"sent":"2019-08-23T01:02:36.272Z","c":2} | |
| {"type":"broadcastStats","ts":"2019-08-23T01:02:38.920Z","statusMessage":"","viewerCounts":{"connected":148234,"playing":148228,"watching":0},"sent":"2019-08-23T01:02:38.822Z","c":12} | |
| {"type":"broadcastStats","ts":"2019-08-23T01:02:40.399Z","statusMessage":"","viewerCounts":{"connected":148617,"playing":148611,"watching":0},"sent":"2019-08-23T01:02:40.292Z","c":17} | |
| {"type":"broadc |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"type":"gameStatus","ts":"2019-08-23T01:02:36.269Z","inTheGame":true,"showId":12146,"prize":"$10,000","prizeCents":1000000,"currency":"USD","prizePoints":0,"extraLives":1,"extraLivesRemaining":1,"cardPlaysRemaining":0,"questionId":null,"questionNumber":0,"questionCount":25,"currentState":null,"erase1s":0,"erase1sRemaining":0,"erase1sEarned":0,"buyBackInAvailable":false,"playingStatus":"pregame","sent":"2019-08-23T01:02:36.271Z","c":1} | |
| {"type":"broadcastStats","ts":"2019-08-23T01:02:36.267Z","statusMessage":"","userId":17845506,"viewerCounts":{"connected":147199,"playing":147193,"watching":0},"sent":"2019-08-23T01:02:36.272Z","c":2} | |
| {"type":"interaction","ts":"2019-08-23T01:02:36.435Z","itemId":"chat","userId":23197512,"metadata":{"username":"missyqm67","message":"😘","messageId":"5EC8AC8B-E20F-44E2-8BAB-C93BCDB48679","userId":23197512,"interaction":"chat","avatarUrl":"https://d2xu1hdomh3nrx.cloudfront.net/72x72/da/purple.png"},"sent":"2019-08-23T01:02:36.321Z","c":3} | |
| Got interaction | |
| {"type":"interaction","ts" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../core-scaffold/core-scaffold.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../core-menu/core-menu.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-menu/core-submenu.html"> | |
| <polymer-element name="my-element"> |
NewerOlder