Skip to content

Instantly share code, notes, and snippets.

Avatar

John Celoria jceloria

View GitHub Profile
@jceloria
jceloria / ttn-lw-stack.yml
Created Jul 2, 2020
The Things Stack deployment configuration
View ttn-lw-stack.yml
# Identity Server configuration
is:
# Email configuration
email:
sender-name: 'The Things Stack'
sender-address: 'noreply@lora.<redacted>'
network:
name: 'The Things Stack'
console-url: 'https://lora.<redacted>/console'
identity-server-url: 'https://lora.<redacted>/oauth'
@jceloria
jceloria / docker-compose.yaml
Created Jul 2, 2020
The Things Stack docker-compose configuration
View docker-compose.yaml
#
# Ansible managed
#
version: "3.7"
secrets:
ca.pem:
file: /root/.acme.sh/<redacted>/ca.cer
cert.pem:
@jceloria
jceloria / docker-compose.yaml
Created Jul 2, 2020
The Things Stack docker-compose configuration
View docker-compose.yaml
#
# Ansible managed
#
version: "3.7"
secrets:
ca.pem:
file: /root/.acme.sh/<redacted>.org/ca.cer
cert.pem:
@jceloria
jceloria / ttn-lw-stack.yml
Created Jul 2, 2020
The Things Stack deployment configuration
View ttn-lw-stack.yml
#
# Ansible managed
#
version: "3.7"
secrets:
ca.pem:
file: /root/.acme.sh/<redacted>.org/ca.cer
cert.pem:
@jceloria
jceloria / sun2.yaml
Last active Jun 23, 2020
HA sun2 package
View sun2.yaml
---
# #################################################################################################################### #
# #################################################################################################################### #
sensor:
# ------------------------------------------------------------------------------------------------------------------ #
- platform: sun2
entity_namespace: sun2
monitored_conditions:
@jceloria
jceloria / wd
Last active Sep 14, 2020
write down time stamped notes from the command line
View wd
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -------------------------------------------------------------------------------------------------------------------- #
"""
Write Down, take quick notes from the command line
The MIT License (MIT)
Copyright © 2019 by John Celoria.
@jceloria
jceloria / calendar.yaml
Created Mar 27, 2019
HA calendar package
View calendar.yaml
---
# ############################################################################ #
# ############################################################################ #
calendar:
# -------------------------------------------------------------------------- #
- platform: caldav
url: !secret ha_caldav_url
username: !secret ha_caldav_user
View docker-compose.yml
#
# Ansible managed
#
version: "2"
services:
nzbget:
environment:
- PUID=110000
@jceloria
jceloria / alarm_clock.yaml
Created Feb 25, 2019
alarm clock package in HA
View alarm_clock.yaml
---
# ############################################################################ #
# ### ALARM CLOCK PACKAGE #################################################### #
group:
# -------------------------------------------------------------------------- #
alarm_clock:
name: Alarm Clock
entities:
@jceloria
jceloria / docker-nginx-rtmp.sh
Created Oct 3, 2018
setup nginx-rtmp in docker/systemd
View docker-nginx-rtmp.sh
#!/usr/bin/env bash
SELF=${0##*/} SDIR=${0%/*}
########################################################################################################################
: '
The MIT License (MIT)
Copyright © 2018 by John Celoria.
Permission is hereby granted, free of charge, to any person obtaining a copy