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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/** | |
* Smart Switch | |
* | |
* Version: 1.0.1-vSwitch | |
* | |
* Copyright 2015 Rob Landry | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
* in compliance with the License. You may obtain a copy of the License at: | |
* |
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
/** Android IP Camera | |
* | |
* Author: rob.a.landry@gmail.com | |
* | |
* Author: http://github.com/roblandry | |
* Date: 2/28/15 | |
*/ | |
preferences | |
{ |
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
Adafruit_GPIO crimereports nest requests_toolbelt | |
Adafruit_PCA9685 crypt netaddr resource | |
Adafruit_PureIO cryptography netdisco responses | |
Crypto csv netifaces rflink | |
Cryptodome ctypes netrc ring_doorbell | |
Cython curses networkx rlcompleter | |
DirectPy curve25519 neurio rocketchat_API | |
Levenshtein cython nis roku | |
MVGLive data nmap roomba | |
MySQLdb datadog nntplib rsa |
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
Exception in thread Thread-16: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner | |
self.run() | |
File "/usr/local/lib/python3.7/threading.py", line 870, in run | |
self._target(*self._args, **self._kwargs) | |
File "/config/custom_components/docker_monitor/__init__.py", line 456, in _runnable | |
self._notify(stats) | |
File "/config/custom_components/docker_monitor/__init__.py", line 351, in _notify | |
callback(message) |
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
# cat /var/lib/docker/docker.log | |
time="2020-01-25T10:35:56.131054205-08:00" level=info msg="Starting up" | |
time="2020-01-25T10:35:56.144466973-08:00" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found" | |
time="2020-01-25T10:35:56.144698585-08:00" level=debug msg="Listener created for HTTP on unix (/var/run/docker.sock)" | |
time="2020-01-25T10:35:56.144756053-08:00" level=debug msg="Containerd not running, starting daemon managed containerd" | |
time="2020-01-25T10:35:56.145972050-08:00" level=info msg="libcontainerd: started new containerd process" pid=21182 | |
time="2020-01-25T10:35:56.146095482-08:00" level=info msg="parsed scheme: \"unix\"" module=grpc | |
time="2020-01-25T10:35:56.146135154-08:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc | |
time="2020-01-25T10:35:56.146212830-08:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc | |
time="2020-0 |
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
root@WDMyCloudDL4100 _docker # docker run -d --name portainer -p 9000:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /shares/Dockers/portainer:/data portainer/portainer | |
Unable to find image 'portainer/portainer:latest' locally | |
latest: Pulling from portainer/portainer | |
d1e017099d17: Pulling fs layer | |
cc61cd4105c3: Pulling fs layer | |
docker: open /mnt/HD/HD_a2/Nas_Prog/_docker/tmp/GetImageBlob184305216: no such file or directory. | |
See 'docker run --help'. | |
root@WDMyCloudDL4100 _docker # mkdir tmp | |
root@WDMyCloudDL4100 _docker # docker run -d --name portainer -p 9000:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /shares/Dockers/portainer:/data portainer/portainer | |
Unable to find image 'portainer/portainer:latest' locally |
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
light: | |
- platform: template | |
lights: | |
zha_group_living_room: | |
# light.living_room_hue_1, light.living_room_hue_1, light.living_room_hue_1, light.living_room_hue_1 | |
friendly_name: "Living Room Lights" | |
# value_template: >- | |
# {% if states('light.living_room_hue_1') == 'on' or | |
# states('light.living_room_hue_2') == 'on' or |
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
{%- set iH = 360 -%} | |
{%- set iS = 100 -%} | |
{# Convert from hue/saturation to RGB #} | |
{%- set iV = 100 -%} | |
{# Hue is scaled 0-360 #} | |
{# Sat is scaled 0-100 #} | |
{# Val is scaled 0-100 #} | |
{%- set h = iH / 360 -%} | |
{%- set s = iS /100 -%} | |
{%- set v = iV / 100 -%} |
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
- name: Printer | |
icon: fas:print | |
path: 'dwains-theme/addons/rooms/the_room/printer/page.yaml' | |
button_path: 'dwains-theme/addons/rooms/the_room/printer/button.yaml' | |
data: | |
entity: sensor.hermes_status | |
status: sensor.hermes_status | |
printer: sensor.hermes_printer | |
scanner: sensor.hermes_scanner | |
ink_black: sensor.hermes_ink_black |
OlderNewer