Skip to content

Instantly share code, notes, and snippets.

@dailyherold
dailyherold / esphome-web-louder.yaml
Created December 23, 2025 23:03
ESPAragus Louder Sendspin Config
substitutions:
name: esphome-web-79d64c
friendly_name: esparagus-louder-livingroom
task_stack_in_psram: "false" # important to disable this for non-S3 model
external_components:
- source: github://pr#12284
components: [generic_image, mdns, sendspin]
- source: github://pr#12254
components: [resampler]
@dailyherold
dailyherold / boto3_available_clients_resources.py
Last active October 17, 2018 17:14
List of available services for boto3 clients and resources
import boto3
# Some reading on the topic of instantiating boto3 clients vs resources
# https://stackoverflow.com/q/42809096/473702
# Use default session to explore API
aws = boto3.session.Session()
# Get a list of available services that can be loaded as low-level clients via Session.client().
available_clients = aws.get_available_services()
# Get a list of available services that can be loaded as resource clients via Session.resource().
@dailyherold
dailyherold / od-recent-artifacts.groovy
Last active December 31, 2024 19:55
Simple Groovy script that pulls the top 10 newest available releases for an Octopus Deploy project and highlights which one was most recently deployed. In my case case, OD is using Artifactory as it's artifact repository, and I am using the script to populate the dynamic parameter Jenkins plugin for a parameterized deploy job.
#!/usr/bin/env groovy
import groovy.json.JsonSlurper
/**
* Groovy script for Jenkins dynamic parameter plugin
* (https://wiki.jenkins-ci.org/display/JENKINS/Dynamic+Parameter+Plug-in)
*
* Pulls the top 10 newest available releases for an Octopus Deploy project and
* highlights which one most recently deployed.