Skip to content

Instantly share code, notes, and snippets.

.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
@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
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 / Update-AUPackages.md
Last active October 18, 2021 00:03
Update-AUPackages Report #powershell #chocolatey
@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
{
"chefdk_bootstrap": {
"package": {
"atom": false,
"chef_ca": true,
"kdiff3": false,
"vagrant": false,
"virtualbox": false,
"git": false,
"gitextensions": false,
{
"chefdk_bootstrap": {
"package": {
"atom": false,
"chef_ca": true,
"kdiff3": false,
"vagrant": false,
"virtualbox": false,
"git": false,
"gitextensions": false,
@johnypony3
johnypony3 / gist:13225db9b2e86f9131ee57bc2286034f
Last active March 27, 2018 14:23
EC2 Update, Dist-Upgrade, Log Config
#!/bin/bash -x
exec > >(tee /var/log/syslog|logger -t user-data -s 2>/dev/console) 2>&1
echo 'do full automated update and upgrade'
unset UCF_FORCE_CONFFOLD
export UCF_FORCE_CONFFNEW=YES
export DEBIAN_FRONTEND=noninteractive
ucf --purge /boot/grub/menu.lst
Set-ExecutionPolicy Bypass -Scope Process -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install python3 -y
choco install pip -y
choco install gitlab-runner -y
$Env:RUNNER_NAME = 'gitlabrunnerwindows'
$Env:REGISTRATION_TOKEN = 'xNCuu_ebSJVHKKFYuzqa'
$Env:CI_SERVER_URL = 'https://gitlab.nordstrom.com/'
list your VMs to find the VM ID:
$ VBoxManage list vms
"UCS 4.1" {acef4c0a-35be-4640-a214-be135417f04d}
You can now package that VM as a Vagrant box:
$ vagrant package --base acef4c0a-35be-4640-a214-be135417f04d --output UCS.box
==> acef4c0a-35be-4640-a214-be135417f04d: Exporting VM...
==> acef4c0a-35be-4640-a214-be135417f04d: Compressing package to: /home/crohr/dev/ucs/UCS.box
And add it to the list of your local Vagrant boxes: