Skip to content

Instantly share code, notes, and snippets.

View joejulian's full-sized avatar
🕶️
working without pants.

Joe Julian joejulian

🕶️
working without pants.
View GitHub Profile
#include <Wire.h>
#define CG (B1010000)boolean resetSuccess = false;
int isReset = 13;
int byteArray []= {01, 01, 01, 60, 60, 60, 60, 60, 60, 8, 8, 8, 33, 33, 33, 255};
void setup(){
pinMode(isReset, OUTPUT);
digitalWrite(isReset, LOW);
Wire.begin(); // join i2c bus (address optional for master)
}
apiVersion: v1
items:
- apiVersion: apps/v1
kind: StatefulSet
metadata:
annotations:
meta.helm.sh/release-name: redpanda
meta.helm.sh/release-namespace: rn
creationTimestamp: "2023-08-29T23:34:32Z"
generation: 2
+ CONFIG=/etc/redpanda/redpanda.yaml
+ POD_ORDINAL=0
+ cp /tmp/base-config/redpanda.yaml /etc/redpanda/redpanda.yaml
+ cp /tmp/base-config/bootstrap.yaml /etc/redpanda/.bootstrap.yaml
++ expr 0 + 1
+ NODE_INDEX=1
+ LISTENER_INDEX=1
++ echo '{'\''name'\'':'\''internal'\'','\''address'\'':'\''redpanda-dest-0.redpanda-dest.redpanda.svc.cluster.local.'\'','\''port'\'':'\''10092'\''};{'\''name'\'':'\''default'\'','\''address'\'':'\''a9d92635568b6430d89eacf5a541bcee-1985978486.eu-south-1.elb.amazonaws.com' ''\'','\''port'\'':'\''31092'\''};'
++ cut -d ' ' -f 1
++ cut -d ';' -f 1
alias: 'Front Yard: Ring Motion Detected'
description: ''
trigger:
- type: motion
platform: device
device_id: 6d8b2595065d11eb8733353522263a5f
entity_id: binary_sensor.front_door_motion
domain: binary_sensor
for:
hours: 0
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: docker-sync-cronjob-copy
namespace: dcos
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
alias: Fire!
sequence:
- service: notify.notify
data:
title: >-
Excuse me, sorry to interrupt. I just wanted to let you know the house
is on fire.
message: TTS
data:
ttl: 0
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 8.8221e-05
go_gc_duration_seconds{quantile="0.25"} 0.000215311
go_gc_duration_seconds{quantile="0.5"} 0.000429439
go_gc_duration_seconds{quantile="0.75"} 0.003314883
go_gc_duration_seconds{quantile="1"} 0.006123919
go_gc_duration_seconds_sum 0.017370309
go_gc_duration_seconds_count 11
# HELP go_goroutines Number of goroutines that currently exist.
displayName: Rewrite Body
summary: Rewrites the HTTP response body by replacing a search regex by a replacement string.
type: middleware
import: plugin-rewritebody
compatibility: TODO
testData:
lastModified: true
rewrites:
- regex: "bar"
replacement: "foo"
kind: AWSMachineTemplate
spec:
template:
spec:
ami:
matchLabels:
kubernetes: 1.20.5
department: development
version: 1.0.0
iamInstanceProfile: nodes.cluster-api-provider-aws.sigs.k8s.io
---
- name: a
hosts: localhost
become: yes
tasks:
- name: check passed data
debug:
msg: "Finding the interface assigned {{ keepalived.virtual_ip }}"
- name: set interface fact