Skip to content

Instantly share code, notes, and snippets.

View nalipaz's full-sized avatar

Nicholas Alipaz nalipaz

  • Huntington Beach, CA
View GitHub Profile
@nalipaz
nalipaz / renew_ssl_cert.yaml
Last active April 6, 2024 19:03 — 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:
@nalipaz
nalipaz / mysql_secure.sh
Last active June 3, 2016 22:29 — forked from Mins/mysql_secure.sh
Automating mysql_secure_installation on MariaDB in CentOS 7
#!/bin/bash
yum -y install expect
MARIADB_ROOT_PASS=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 3
spawn mysql_secure_installation