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
aaaaaaaaaaaaa---aaaaaaaaaaaaa---aaaaaaaaaaaaa---aaaaaaaaaaaaa | |
a-----------a---a-----------a---a-----------a---a-----------a | |
a-----------a---a-----------a---a-----------a---a-----------a | |
a-----------a---a-----------a---a-----------a---a-----------a | |
a-----------a---a-----------a---a-----------a---a-----------a | |
a-----------a---a-----------a---a-----------a---a-----------a | |
a-----------a---a-----------a---a-----------a---a-----------a | |
a-----------a---a-----------a---a-----------a---a-----------a | |
a-----------a---a-----------a---a-----------a---a-----------a | |
a-----------a---a-----------a---a-----------a---a-----------a |
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
esphome: | |
name: radar-01 | |
esp8266: | |
board: d1_mini | |
logger: | |
level: INFO | |
ota: |
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: argoproj.io/v1alpha1 | |
kind: Rollout | |
metadata: | |
name: rollouts-demo | |
namespace: foo | |
spec: | |
replicas: 5 | |
strategy: | |
canary: | |
analysis: |
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
# | |
# Copyright 2021-2022 OpsMx, Inc. | |
# | |
# 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 | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
#include <FastLED.h> | |
// The number of chips connected in series. | |
#define NUMBER_OF_SHIFT_CHIPS 7 | |
// Directly modify pins, this only works for specific chips, and uses hard-coded pin numbers | |
#define USE_PIN_DIRECT | |
// Display serial data. This is slow, so once working, this should be disabled. |
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/sh | |
# update via ddns | |
# /etc/hotplug.d/iface/30-skan-ddns | |
[ "$INTERFACE" != "wan" ] && ( [ "$ACTION" != "ifup" ] || [ "$ACTION" != "update" ] ) && exit 0 | |
user='username-here' | |
password='password-here' | |
token="hmac-md5:$user:$password" |
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
$ dig flame.org any +dnssec @a0.org.afilias-nst.info. | |
; <<>> DiG 9.11.0-P5 <<>> flame.org any +dnssec @a0.org.afilias-nst.info. | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30936 | |
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 5, ADDITIONAL: 1 | |
;; WARNING: recursion requested but not available | |
;; OPT PSEUDOSECTION: |
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
#include <ESP8266WiFi.h> | |
#include <ESP8266httpUpdate.h> | |
const char* host = "holiday.home.flame.org"; | |
const char* ssid = "home.flame.org"; | |
const char* pass = "xxx"; | |
const uint16_t app_port = 4201; | |
const char *UPDATE_HOST = "update-hostname-here"; | |
const char *UPDATE_PATH = "path-to-bin-here"; |
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
void wifiLoop() | |
{ | |
if (!client.connected()) { | |
if (!server.hasClient()) | |
return; | |
client = server.available(); | |
if (client.connected()) | |
client.setTimeout(200); | |
} | |
if (!client.connected()) { |
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
:rch 2920, 1460 | |
:rch 4380, 1460 | |
:c 1, 1460, 5840 | |
:c 1, 1460, 4380 | |
:rch 2920, 1460 |
NewerOlder