Skip to content

Instantly share code, notes, and snippets.

@zinefer
zinefer / ikea-5-button-remote.yaml
Created June 20, 2022 04:10
ZHA - IKEA five button remote
blueprint:
name: ZHA - IKEA five button remote
description: |
Control anything using IKEA five button remote
domain: automation
input:
remote:
name: Remote
description: IKEA remote to use
# Smoothieboard configuration file, see http://smoothieware.org/configuring-smoothie
# NOTE Lines must not exceed 132 characters, and '#' characters mean what follows is ignored
## Robot module configurations : general handling of movement G-codes and slicing into moves
# Basic motion configuration
default_feed_rate 4000 # Default speed (mm/minute) for G1/G2/G3 moves
default_seek_rate 4000 # Default speed (mm/minute) for G0 moves
mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs, 0 to disable
#mm_per_line_segment 5 # Cut lines into segments this size
mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable
@zinefer
zinefer / seo_schema.html
Last active April 21, 2019 04:32
SEO partial for HUGO
{{- $title := .Site.Title }}
{{- if not .IsHome }}
{{- $title = .Title }}
{{- end }}
{{- $author := dict "@type" "Person" "name" .Site.Params.Author }}
{{- $logo := dict "@type" "ImageObject" "url" .Site.Params.PublisherLogo "width" 60 "height" 60 }}
{{- $publisher := dict "@type" "Organization" "name" .Site.Params.Publisher "logo" $logo }}