Skip to content

Instantly share code, notes, and snippets.

View igresc's full-sized avatar
:octocat:

Sergi Castro igresc

:octocat:
  • Barcelona, Spain
View GitHub Profile
esphome:
name: action-button
friendly_name: action-button
esp32:
board: wemos_d1_mini32
framework:
type: arduino
# Enable logging
@igresc
igresc / switchman-3.yml
Last active May 30, 2022 19:03
Sonoff SwitchMan M5 3 Gang switch ESPHome config
esphome:
name: switchman-3-kitchen
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
@igresc
igresc / ssh-copy-id.txt
Last active May 30, 2022 19:02
Windows equivalent ssh-copy-id to linux machine
{IP} => Ex: user@192.168.1.100
"id_rsa.pub" should be the name of the public key file, "id_rsa.pub" is the default of ssh-keygen.
Recomended ed25519 algorithm.
type %USERPROFILE%\.ssh\id_rsa.pub | ssh {IP} "cat >> .ssh/authorized_keys"
@igresc
igresc / cloudSettings
Last active October 18, 2021 17:25
Cloud Settings VSCode
{"lastUpload":"2021-10-18T17:25:12.820Z","extensionVersion":"v3.4.3"}