Skip to content

Instantly share code, notes, and snippets.

View AngelFreak's full-sized avatar

Teis Clausen AngelFreak

View GitHub Profile
@AngelFreak
AngelFreak / Vagrantfile
Last active January 18, 2022 17:44
Vagrantfile for k3s, up and running
# -*- mode: ruby -*-
# vi: set ft=ruby :
BOX_IMAGE = "opensuse/Leap-15.3.x86_64"
NODE_COUNT = 3
NAME_PREIX = "k3s-node"
Vagrant.configure("2") do |config|
(1..NODE_COUNT).each do |i|
config.vm.define NAME_PREIX"#{i}" do |node|
// This gets todays XKCD and saves it to disk.
package main
import (
"io"
"log"
"net/http"
"os"
"regexp"
"strings"
@AngelFreak
AngelFreak / doorbell_notify_camara.yaml
Last active January 3, 2021 10:58
Doorbell notify + camera
blueprint:
name: Doorbell - Notify Google and send camera snapshot to app
description: 'Make an announcement over Google devices when the doorbell is pushed and send a camera snapshot to your app.'
domain: automation
input:
doorbell:
name: Doorbell
description: This is the doorbell sensor
selector:

Keybase proof

I hereby claim:

  • I am AngelFreak on github.
  • I am angelfreak (https://keybase.io/angelfreak) on keybase.
  • I have a public key whose fingerprint is 94D6 52F8 62F9 0322 1360 43ED 7950 12C4 5CF7 413C

To claim this, I am signing this object:

@AngelFreak
AngelFreak / hwg-ste_get_temp
Created March 16, 2018 09:41
Get temp reading from the HWg-STE
curl -s http://$IP | sed '/s215/!d;s/.*s215">//;s/&.*//'
### Keybase proof
I hereby claim:
* I am angelfreak on github.
* I am angelfreak (https://keybase.io/angelfreak) on keybase.
* I have a public key ASBBm3lmp3leQZzTyCGIQWMylXbSp6abNUY48tXFWmJoRQo
To claim this, I am signing this object: