Skip to content

Instantly share code, notes, and snippets.

View tebrown's full-sized avatar

Travis Brown tebrown

  • Rochester Institute of Technology
  • Rochester, NY
  • X @tebrown
View GitHub Profile
@starbuck93
starbuck93 / inovelli_vzm31-sn.yaml
Last active November 6, 2023 17:13
Inovelli Blue Series 2-in-1 blueprint demo for Home Assistant
blueprint:
name: Z2M - Inovelli 2-in-1 switch + dimmer Scene Controls
description: |
For Inovelli Blue Series 2-in-1 switch + dimmer, model VZM31-SN
Allows setting a few different actions such as 2,3,4,5 clicking the up/down and config buttons.
domain: automation
input:
switch:
name: Switch
@benbalter
benbalter / geojson-conversion.sh
Last active April 23, 2024 13:16
Bulk convert shapefiles to geojson using ogr2ogr
# Bulk convert shapefiles to geojson using ogr2ogr
# For more information, see http://ben.balter.com/2013/06/26/how-to-convert-shapefiles-to-geojson-for-use-on-github/
# Note: Assumes you're in a folder with one or more zip files containing shape files
# and Outputs as geojson with the crs:84 SRS (for use on GitHub or elsewhere)
#geojson conversion
function shp2geojson() {
ogr2ogr -f GeoJSON -t_srs crs:84 "$1.geojson" "$1.shp"
}