This file contains 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
Start Electron Desktop Application... | |
Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Determining projects to restore... | |
/Users/zaneclaes/zdrive/zaneclaes/Programming/OWE/src/OpenWorkShop/OpenWorkShop.csproj : warning NU1701: Package 'ArduinoDriver 2.4.6' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0'. This package may not be fully compatible with your project. [/Users/zaneclaes/zdrive/zaneclaes/Programming/OWE/src/OpenWorkShop/OpenWorkShop.sln] | |
/Users/zaneclaes/zdrive/zaneclaes/Programming/OWE/MakerHub/MakerHub.csproj : warning NU1701: Package 'ArduinoDriver 2.4.6' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramewor |
This file contains 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
if (window.location.href.indexOf('kiosk') > 0) { | |
setTimeout(function () { | |
try { | |
const home_assistant_main = document | |
.querySelector("body > home-assistant").shadowRoot | |
.querySelector("home-assistant-main"); | |
const header = home_assistant_main.shadowRoot | |
.querySelector("app-drawer-layout > partial-panel-resolver > ha-panel-lovelace").shadowRoot | |
.querySelector("hui-root").shadowRoot |
This file contains 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
client> $$ | |
$0=10 (Step pulse time, microseconds) | |
$1=25 (Step idle delay, milliseconds) | |
$2=0$3=0 (Step pulse invert, mask) | |
$4=0 (Invert step enable pin, boolean) | |
$5=0 (Invert limit pins, boolean) | |
$6=0 (Invert probe pin, boolean) | |
$10=1 (Status report options, mask) | |
$11=0.010 (Junction deviation, millimeters) | |
$12=0.002 (Arc tolerance, millimeters) |
This file contains 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 python3 | |
import subprocess, re, os, json, sys | |
zones = None | |
def _sh(cmd): | |
return subprocess.run(cmd, shell=True, check=True, capture_output=True, text=True).stdout.strip() | |
def _whatsmyip(): | |
return _sh('dig +short myip.opendns.com @resolver1.opendns.com') |
This file contains 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
#!/bin/bash | |
# | |
# ARG_POSITIONAL_SINGLE([home-assistant-address],[root URL of home assistant]) | |
# ARG_OPTIONAL_BOOLEAN([tvservice],[],[tvservice on],[on]) | |
# ARG_OPTIONAL_BOOLEAN([usb],[],[USB on],[on]) | |
# ARGBASH_GO() | |
# needed because of Argbash --> m4_ignore([ | |
### START OF CODE GENERATED BY Argbash v2.8.1 one line above ### | |
# Argbash is a bash code generator used to get arguments parsing right. | |
# Argbash is FREE SOFTWARE, see https://argbash.io for more info |
This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: multipress | |
labels: | |
app: multipress | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: |
This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: switchboard | |
labels: | |
app: switchboard | |
spec: | |
replicas: 2 | |
minReadySeconds: 5 | |
selector: |
This file contains 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
# MIT License | |
# | |
# Copyright (c) 2018, Zane Claes | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
This file contains 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
# MIT License | |
# | |
# Copyright (c) 2018, Zane Claes | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
This file contains 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
#!/bin/bash | |
# Converts a letsencrypt certificate into a JKS file. | |
# Usage: | |
# ./certbot_jks.sh [domain_name] [email] | |
le_dir="/etc/letsencrypt" | |
domain=${1} | |
email=${2} | |
OUT_DIR=${le_dir}/live/${domain} | |
GATE_EXPORT_PASSWORD=test1234 |