Skip to content

Instantly share code, notes, and snippets.

Avatar

Erik Jacobs thoraxe

View GitHub Profile
View automation.yaml
- alias: Turn on main stairs and landing lights on stair sensor movement
trigger:
platform: state
entity_id: group.stairs_sensors
to: 'on'
action:
- service: light.turn_on
entity_id: light.main_stairs_light
data_template:
brightness: >-
View automation.yaml
- alias: Turn on main stairs and landing lights on lower sensor movement
trigger:
platform: state
entity_id: binary_sensor.main_stairs_bottom_sensor_occupancy
to: 'on'
action:
- service: light.turn_on
entity_id: light.main_stairs_light
data_template:
brightness: >-
View catalogsource.yaml
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
creationTimestamp: "2021-01-29T16:19:50Z"
generation: 1
managedFields:
- apiVersion: operators.coreos.com/v1alpha1
fieldsType: FieldsV1
fieldsV1:
f:spec:
View gist:0f289f2e08a18f3d9b818155c89bf272
[main] Building folder: srt-game-server
[build] Starting build
[proc] Executing command: /usr/bin/cmake --build /home/thoraxe/Red_Hat/openshift/srt-game-server/build --config Debug --target all -- -j 10
[build] Scanning dependencies of target srt-game-server
[build] [ 2%] Building CXX object CMakeFiles/srt-game-server.dir/src/Application/main.cpp.o
[build] [ 5%] Linking CXX executable srt-game-server
[build] /usr/bin/ld: CMakeFiles/srt-game-server.dir/src/Application/main.cpp.o: in function `main':
[build] /home/thoraxe/Red_Hat/openshift/srt-game-server/src/Application/main.cpp:121: undefined reference to `ProtonConsumer::ProtonConsumer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
[build] collect2: error: ld returned 1 exit status
[build] gmake[2]: *** [CMakeFiles/srt-game-server.dir/build.make:682: srt-game-server] Error 1
View logi pro x wireless discharge curve.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- Carmen -->
<powermodel vid="0x46d" pid="0x0aba">
<battery>
<!-- Discharge Curve
"default"
Time (minutes), CCV (volts), Discharge (mAh)
-->
View kfdef.yaml
apiVersion: kfdef.apps.kubeflow.org/v1
kind: KfDef
metadata:
annotations:
kfctl.kubeflow.io/force-delete: 'false'
name: opendatahub
namespace: {{ namespace }}
spec:
repos:
- name: kf-manifests
View ansible-created.yaml
apiVersion: project.openshift.io/v1
kind: Project
metadata:
annotations:
openshift.io/display-name: ""
openshift.io/sa.scc.mcs: s0:c26,c0
openshift.io/sa.scc.supplemental-groups: 1000650000/10000
openshift.io/sa.scc.uid-range: 1000650000/10000
creationTimestamp: "2020-11-30T14:27:50Z"
labels:
View zumba-quickstart.yaml
apiVersion: console.openshift.io/v1
kind: ConsoleQuickStart
metadata:
creationTimestamp: '2020-11-24T16:42:10Z'
generation: 1
managedFields:
- apiVersion: console.openshift.io/v1
fieldsType: FieldsV1
fieldsV1:
'f:spec':
View pipeline.yaml
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
creationTimestamp: "2020-11-19T19:51:50Z"
generation: 1
managedFields:
- apiVersion: tekton.dev/v1alpha1
fieldsType: FieldsV1
fieldsV1:
f:spec:
@thoraxe
thoraxe / broker_cr.yaml
Last active Nov 11, 2020
ActiveMQ broker setup
View broker_cr.yaml
apiVersion: broker.amq.io/v2alpha2
kind: ActiveMQArtemis
metadata:
name: srt-broker
namespace: srt
spec:
acceptors:
- expose: true
name: amqp
port: 5672