Skip to content

Instantly share code, notes, and snippets.

@johnypony3
johnypony3 / docker-compose.yaml
Last active October 10, 2022 10:49
my docker-compose
version: '2'
services:
portainer:
image: portainer/portainer:latest
container_name: portainer
restart: always
privileged: true
ports:
- 9000:9000
@johnypony3
johnypony3 / Update-AUPackages.md
Last active October 18, 2021 00:03
Update-AUPackages Report #powershell #chocolatey
packer build -force -on-error=abort -var-file=common/vsphere.variables.json -var-file=common/{,linux/{,redhat/{,7/{,{,db/}}}}}variables.json -only=virtualbox-ovf common/linux/redhat/template.json
2020/02/28 08:07:36 [INFO] Packer version: 1.5.4 [go1.13.7 linux amd64]
2020/02/28 08:07:36 Checking 'PACKER_CONFIG' for a config file path
2020/02/28 08:07:36 'PACKER_CONFIG' not set; checking the default config file path
2020/02/28 08:07:36 Attempting to open config file: /root/.packerconfig
2020/02/28 08:07:36 [WARN] Config file doesn't exist: /root/.packerconfig
2020/02/28 08:07:36 Setting cache directory: /u01/builds/5wP_D1YH/1/OracleInfrastructure/lunchbox/packer_cache
Running in background, not using a TTY
2020/02/28 08:07:36 Creating plugin client for path: /usr/local/bin/packer
2020/02/28 08:07:36 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-virtualbox-ovf"}
@johnypony3
johnypony3 / garage_air_is_dirty.yaml
Last active September 21, 2022 14:37
homeassistant air quality / voc automation
alias: Garage air is dirty
description: ""
trigger:
- type: pm1
platform: device
device_id: da8655b632ddea89ab73559fd1d158db
entity_id: sensor.garage_fan_particulates
domain: sensor
above: 5
- type: volatile_organic_compounds
.1.3.6.1.2.1.1.1.0 = STRING: Brother NC-8100w, Firmware Ver.1.20 (18.11.13),MID 8CE-417,FID 2
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.2435.2.3.9.1
.1.3.6.1.2.1.1.3.0 = Timeticks: (34427215) 3 days, 23:37:52.15
.1.3.6.1.2.1.1.4.0 = STRING: ponyboy3
.1.3.6.1.2.1.1.5.0 = STRING: color-printer
.1.3.6.1.2.1.1.6.0 = STRING: office
.1.3.6.1.2.1.1.7.0 = INTEGER: 72
.1.3.6.1.2.1.1.8.0 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.2.1 = OID: .1.3.6.1.6.3.1
.1.3.6.1.2.1.1.9.1.2.2 = OID: .1.3.6.1.6.3.10.3.1.1