This file contains hidden or 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
Am 19.08.2016 um 17:53 schrieb Dominick Grift: | |
> On 08/19/2016 03:54 PM, Fakim, Walid wrote: | |
>> The init script launches a shell script which further down calls java - so will init_daemon_domain suffice? It's similar to a tomcat startup script. | |
>> | |
>> | |
> | |
This file contains hidden or 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
neutron net-create --port_security_enabled=False --router:external=False NetA | |
neutron subnet-create --name NetA_Sub1 --no-gateway --disable-dhcp NetA 192.168.0.0/24 | |
neutron net-create --port_security_enabled=False --router:external=False NetB | |
neutron subnet-create --name NetB_Sub1 --no-gateway --disable-dhcp NetB 192.168.1.0/24 | |
neutron net-create --port_security_enabled=False --router:external=False NetC | |
neutron subnet-create --name NetC_Sub1 --no-gateway --disable-dhcp NetC 192.168.2.0/24 | |
neutron net-create --port_security_enabled=False --router:external=False NetD |
This file contains hidden or 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
nova keypair-add --pub-key ~/.ssh/id_rsa.pub tmueller | |
get_floating_ip() { | |
openstack ip floating list -f value -c "Floating IP Address" -c Port | grep 'None' | head -1 | cut -f1 -d" " | |
} | |
neutron net-create --port_security_enabled=False NetA | |
neutron subnet-create --name NetA_Sub1 --no-gateway --disable-dhcp NetA 192.168.0.0/24 | |
neutron net-create --port_security_enabled=False NetB |
This file contains hidden or 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
--- a/manifests/server/service.pp 2017-04-10 13:29:34.307586169 +0200 | |
+++ b/manifests/server/service.pp 2017-04-10 13:28:03.756056508 +0200 | |
@@ -9,6 +9,7 @@ | |
$user = $postgresql::server::user | |
$port = $postgresql::server::port | |
$default_database = $postgresql::server::default_database | |
+ $connect_settings = $postgresql::server::default_connect_settings | |
anchor { 'postgresql::server::service::begin': } | |
This file contains hidden or 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": "[email protected]", | |
"attributes": { | |
"urn:mspac:": { | |
"authenticated": true, | |
"complete": true, | |
"values": [ | |
{ | |
"raw": "BQAAAAAAAAABAAAAmAEAAFgAAAAAAAAACgAAABYAAADwAQAAAAAAAAwAAABcAAAACAIAAAAAAAAGAAAAFAAAAGgCAAAAAAAABwAAABAAAACAAgAAAAAAAAEQCADMzMzMiAEAAAAAAAAAAAIAiEIPkNN50wH/////////f/////////9/IN2nFdN50wEgnRFAnHrTASBdAQvUmtMBDAAMAAQAAgAAAAAACAACAAAAAAAMAAIAAAAAABAAAgAAAAAAFAACAAAAAAAYAAIAAwAAAFEEAAABAgAAAQAAABwAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABgAgAAIAEAASACQAAgAoAAIAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAGAAAAdABoAG8AbQBhAHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAFIEAAAHAAAAAwAAAAAAAAACAAAARABDAAkAAAAAAAAACAAAAE0AWQBEAE8ATQBBAEkATgAEAAAAAQQAAAAAAAUVAAAARB7qgl6PkrbZdawfAAAAAADotY/TedMBDAB0AGgAbwBtAGEAcwAAACoAEAAcAEAAAAAAAAAAAAB0AGgAbwBtAGEAcwBAAG0AeQBkAG8AbQBhAGkAbgAuAGwAbwBjAGEAbAAAAAAAAABNAFkARABPAE0AQQBJAE4ALgBMAE8AQwBBAEwAAAAAAHb///8g02CaVJFO5afZuTKMj3CnAA |
This file contains hidden or 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
# ausearch -m AVC,USER_AVC,SELINUX_ERR --start today -i | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:11:45.153:807656) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=2) exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?' | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:12:59.848:807742) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=3) exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?' | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:20:17.465:808721) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=4) exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?' | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:25:37.738:809410) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=5) exe=/usr/lib/systemd/systemd sauid |
This file contains hidden or 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
time python3 /tmp/test.py | |
/usr/local/lib/python3.6/site-packages/kubernetes/config/kube_config.py:509: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. | |
config_dict=yaml.load(f), | |
^CTraceback (most recent call last): | |
File "/tmp/test.py", line 5, in <module> | |
response = kubernetes.client.ApisApi(client).get_api_versions(_request_timeout=0.5) | |
File "/usr/local/lib/python3.6/site-packages/kubernetes/client/apis/apis_api.py", line 55, in get_api_versions |
This file contains hidden or 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
""" | |
* TS0601 ZG-204ZM | |
* _TZE200_kb5noeto | |
* Works with HA 2024.11 - updated by @txip (Update 2) | |
* https://de.aliexpress.com/item/1005006174074799.html ("Color": Mmwave PIR) | |
* https://github.com/13717033460/zigbee-herdsman-converters/blob/6c9cf1b0de836ec2172d569568d3c7fe75268958/src/devices/tuya.ts#L5730-L5762 | |
* https://www.zigbee2mqtt.io/devices/ZG-204ZM.html | |
* https://smarthomescene.com/reviews/zigbee-battery-powered-presence-sensor-zg-204zm-review/ | |
* https://doc.szalarm.com/zg-205ZL/cntop_zigbee_sensor.js | |
* https://github.com/Koenkk/zigbee2mqtt/issues/21919 |
This file contains hidden or 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
"""Luminance motion sensor ZG-204ZS""" | |
from typing import Dict, Final | |
from zigpy.quirks.v2 import QuirkBuilder | |
import zigpy.types as t | |
from zigpy.zcl.clusters.measurement import IlluminanceMeasurement, OccupancySensing | |
from zigpy.zcl.clusters.security import IasZone | |
from zigpy.zcl.clusters.general import Identify |
This file contains hidden or 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
"""Luminance motion sensor ZG-Z204ZS""" | |
import math | |
from typing import Dict, Final | |
from zigpy.profiles import zha | |
from zigpy.quirks import CustomDevice | |
from zigpy.zcl.clusters.general import ( | |
Basic, | |
PowerConfiguration, |