Skip to content

Instantly share code, notes, and snippets.

@mike1237
mike1237 / zwave-events.py
Created February 25, 2017 04:15 — forked from clintoncrick/zwave-events.py
Script to monitor OpenZWave events for Remotec ZRC-90US and send event to Home Assistant. Supports single click, double click, and long press.
#!/usr/bin/env python3
import socket
import requests
from subprocess import Popen, PIPE
import json
# These lines are examples only. They may be useful to compare what your remote sends. To capture the codes that your remote sends,
# tail the OZW_Log.
@mike1237
mike1237 / ubuntu_chromebook.md
Last active April 19, 2020 00:32 — forked from timrs2998/ubuntu_chromebook.md
Ubuntu on Acer CB3-111-C670 Chromebook

This markdown file explains how to run Ubuntu on your Acer CB3-111-C670 Chromebook from a USB 3.0 flash drive.

NOTE: We are using a USB 3.0 flash drive with Linux installed with persistent storage, since the internal eMMC storage is slower than USB 3.0.

Disable Hardware Write Protection

Remove all 12 screws from the back of the laptop and remove the rear cover. Remove the write protection screw Reassemble machine

@mike1237
mike1237 / index.html
Created October 30, 2020 00:35
Responsive comparison table
<!-- DIRTY Responsive pricing table HTML -->
<article>
<ul>
<li class="bg-purple">
<button>Self-Employed</button>
</li>
<li class="bg-blue">
<button>Simple Start</button>
@mike1237
mike1237 / create-cloud-template.sh
Created October 7, 2021 15:12 — forked from chriswayg/create-cloud-template.sh
This script will download a cloud image of many Linux distros and create a Proxmox 6 KVM template from it.
#!/bin/bash
set -o errexit
clear
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n"
### HOW TO USE
### Pre-req:
### - run on a Proxmox 6 server
### - a dhcp server should be active on vmbr1
@mike1237
mike1237 / esphome_hx711_smart_scale.yaml
Created December 31, 2022 01:19 — forked from zik4000/esphome_hx711_smart_scale.yaml
ESPHome sample configuration for an HX711 powered Smart Scale including Auto-Tare functionality.
## Node configuration ##
esphome:
name: smart_scale
platform: ESP8266
board: nodemcuv2
globals:
- id: initial_zero
type: float
variable "proxmox_host_node" {
type = string
}
variable "proxmox_password" {
type = string
sensitive = true
}