Skip to content

Instantly share code, notes, and snippets.

View xe1gyq's full-sized avatar
🎯
Focusing

Abraham Arce xe1gyq

🎯
Focusing
  • Intel
  • Mexico
View GitHub Profile
@xe1gyq
xe1gyq / esphomehelloworld.yaml
Created November 2, 2019 14:32
ESPHome Hello World
substitutions:
main_name: "ESPHome Hello World"
esphome:
name: "esphomehelloworld"
platform: ESP8266
board: nodemcuv2
wifi:
ssid: !secret esphome_wifi_ssid
#!/usr/bin/env bash
# CentOS Image: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1905.qcow2
# openstack image create --file CentOS-7-x86_64-GenericCloud-1905.qcow2 --disk-format qcow2 --public centos
counter=1
while true; do
echo "Counter " $counter
openstack server create --flavor m1.small --image centos --nic net-id=public-net0 centos
sleep 15
@xe1gyq
xe1gyq / docker-install-lubuntu-17.04.sh
Created February 2, 2019 04:27 — forked from pjmazenot/docker-install-lubuntu-17.04.sh
Install Docker CE on Lubuntu 17.04
#!/bin/sh
# Install Docker CE on Lubuntu 17.04
# Run this script with sudo privileges `sudo docker-install-lubuntu-17.04.sh`
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable"
apt-get update
apt-get install -y docker-ce
@xe1gyq
xe1gyq / example.yaml
Created September 15, 2017 03:15 — forked from Teagan42/example.yaml
A custom camera component that allows you to see the detected regions from the OpenCV image processor in Home-Assistant. Add this to your configuration directory: {CONFIG_DIRECTORY}/custom_components/opencv.py
camera:
- platform: opencv
camera: camera.front_door
processor: image_processing.front_door_opencv_faces
# Optional Parameters
name: OpenCV Camera
@xe1gyq
xe1gyq / hass-daemon.sb
Created March 19, 2017 21:54 — forked from anonymous/hass-daemon.sb
hass-daemon.sb
#!/bin/sh
# Package
PACKAGE="homeassistant"
DNAME="Home Assistant"
# Others
USER="homeassistant"
PYTHON_DIR="/volume1/@appstore/py3k/usr/local/bin"
PYTHON="$PYTHON_DIR/python3"