Skip to content

Instantly share code, notes, and snippets.

View chmutoff's full-sized avatar

Anton chmutoff

  • Alicante (Spain)
View GitHub Profile
@chmutoff
chmutoff / ripe-db-associate.md
Last active February 13, 2024 10:40
RIPE Database Associate

Unit 1 - Introduction to the RIPE Database

The RIPE Database has these four main uses

  • Keep contact information
  • Register IP addresses and AS Numbers
  • Publish routing policies
  • Provide reverse delegation

There are four ways of updating the database

  • Webupdates: It is a web form.
@chmutoff
chmutoff / sonoff-pow-r3.yaml
Created December 8, 2022 19:53
Sonoff Pow R3 ESPHome template
substitutions:
device_name: sonoff-pow-r3
device_description: Sonoff Pow R3
friendly_name: Sonoff Pow R3
esphome:
name: ${device_name}
comment: ${device_description}
esp8266:
@chmutoff
chmutoff / jncia-junos-jn0-103.md
Last active May 11, 2023 16:19
JNCIA-Junos (JN0-103) summary

JNCIA-Junos (JN0-103) summary

v1.0

Author: Anton Chmutov Derevianko sir.antoxic@gmail.com

Product portfolio

Routers

  • M Series - first product by Juniper Networks, multiservice router (routing and MPLS services, no switches) Designed for enterprise and service providers.
  • T Series - no switching, only routing, old, performance upgrade for M. High end and core routers.
@chmutoff
chmutoff / dimmer-modded-rocker.yaml
Last active July 10, 2022 21:12
ESPHOME config for MOES 2 Gang WiFi Dimmer
substitutions:
device_name: 2-gang-dimmer
device_description: MOES 2 Gang WiFi Dimmer
friendly_name: Living Room Dimmer
esphome:
name: ${device_name}
comment: ${device_description}
esp8266:
@chmutoff
chmutoff / CCNA_200-125.md
Last active March 23, 2022 10:21
Cisco CCNA (200-125) command summary

Cisco CCNA (200-125) command summary

Working with configuration

Show configuration

show running-config
show stored-config
@chmutoff
chmutoff / automations.yaml
Last active February 9, 2022 09:00
Digoo DG-R8S Home Assistant integration using Pilight gateway
- alias: "DIGOO R8S"
description: "DIGOO R8S Remote Sensor"
trigger:
- platform: mqtt
topic: "home/OpenMQTTGateway_ESP8266_Pilight/PilighttoMQTT"
condition:
- condition: template
value_template: "{{ trigger.payload_json.protocol == 'tfa' }}"
- condition: template
value_template: '{{ trigger.payload_json.message.temperature > -10 }}'
@chmutoff
chmutoff / install.sh
Created February 28, 2021 15:41
Home Assistant KVM installation
# Install HassOS with the QCOW2 image from https://www.home-assistant.io/hassio/installation/#alternative-install-on-a-generic-linux-host
virt-install --import --name Home_Assistant \
--memory 4096 --vcpus 1 --cpu host \
--disk hassos_ova.qcow2,format=qcow2,bus=virtio \
--network bridge=br0,model=virtio \
--os-type=linux \
--os-variant=generic \
--graphics vnc,listen=0.0.0.0,port=5903 \
--autostart \
--noautoconsole \