Skip to content

Instantly share code, notes, and snippets.

View ergoz's full-sized avatar
😈
let's rock

[riftlab] ErgoZ ergoz

😈
let's rock
View GitHub Profile
blueprint:
name: Notifications & Announcements
description: >
# 📢 Notifications & Announcements
**Version: 1.0**
State your trigger and spread the word 💬 🔉
@ergoz
ergoz / renew_ssl_cert.yaml
Created June 17, 2024 16:56 — forked from TJ-developer/renew_ssl_cert.yaml
Homeassistant Blueprint for SSL-Certificate renewal
blueprint:
name: Renew Let's Encrypt Certificate
description: Renew Certificate when due date is below given value
domain: automation
input:
cert_expiry_sensor:
name: Certificate Expiry Sensor
description: Sensor from the Certificate Expiry Integration (https://www.home-assistant.io/integrations/cert_expiry)
selector:
entity:
blueprint:
name: Calendar Notifications & Actions
description: >
# 📅 Calendar Notifications & Actions
**Version: 1.5**
Transform Your Calendar: Turn Events Into Notifications and Actions! 📅🔔⚙️
@ergoz
ergoz / appliance-notifications.yaml
Created June 17, 2024 16:51 — forked from Blackshome/appliance-notifications.yaml
appliance-notifications.yaml
blueprint:
name: Appliance Notifications & Actions
description: >
# 📳 Appliance Notifications & Actions
**Version: 2.2**
🤔 Watts your appliance up to, you're always in the know from start to finish!🛎️🔌💸
blueprint:
name: Low Battery Notifications & Actions
description: >
# 🪫 Low Battery Notifications & Actions
**Version: 2.3**
🚀 Stay Charged, Stay Smart! Let's automate and take charge of your battery maintenance!🔋⚡
blueprint:
name: Bathroom Humidity Exhaust Fan
description: >
# 🚿 Bathroom Humidity Exhaust Fan
**Version: 2.4**
Step into the future of freshness - customize it your way and let the automated fan system handle the humidity control for you! 🌿🚿
@ergoz
ergoz / fzf-ssh.zsh
Created May 13, 2024 10:17 — forked from siriusjack/fzf-ssh.zsh
fzf-ssh integration for zsh
function ssh-fzf () {
local selected_host=$(grep "Host " ~/.ssh/config | cut -b 6- | fzf --query "$LBUFFER")
if [ -n "$selected_host" ]; then
BUFFER="ssh ${selected_host}"
zle accept-line
fi
zle reset-prompt
}
zle -N ssh-fzf
bindkey '^\' ssh-fzf
@ergoz
ergoz / config.yaml
Created April 19, 2024 12:47 — forked from davidejones/config.yaml
Hugo recursive partial to output navigation
languages:
en:
menu:
main:
- identifier: menu_home
name: "Home"
url: "/home/"
weight: 10
- identifier: menu_about
name: "About"
@ergoz
ergoz / full-ffmpeg.sh
Created April 12, 2024 21:39 — forked from mondeja/full-ffmpeg.sh
Install full ffmpeg in debian wheezy (with aac(m4a) and x264 support)
# Add multimedia source
echo "deb http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list
echo "deb-src http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list
apt-get update
apt-get install deb-multimedia-keyring # if this aborts, try again
apt-get update
# Go to local source directory
cd /usr/local/src
@ergoz
ergoz / WireGuard_Setup.txt
Created March 9, 2024 10:41 — forked from chrisswanda/WireGuard_Setup.txt
Stupid simple setting up WireGuard - Server and multiple peers
Install WireGuard via whatever package manager you use. For me, I use apt.
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard
MacOS
$ brew install wireguard-tools
Generate key your key pairs. The key pairs are just that, key pairs. They can be