This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Disable Auto Power-Off | |
| echo -n -e '\x1b\x69\x55\x41\x00\x00' | brother_ql send - | |
| # Auto Power-Off After 10 Minutes | |
| echo -n -e '\x1b\x69\x55\x41\x00\x01' | brother_ql send - | |
| # Auto Power-Off After 20 Minutes | |
| echo -n -e '\x1b\x69\x55\x41\x00\x02' | brother_ql send - | |
| # Auto Power-Off After 30 Minutes | |
| echo -n -e '\x1b\x69\x55\x41\x00\x03' | brother_ql send - | |
| # Auto Power-Off After 40 Minutes | |
| echo -n -e '\x1b\x69\x55\x41\x00\x04' | brother_ql send - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CONFIG_LOW_LEVEL_OPTIONS=y | |
| # CONFIG_MACH_AVR is not set | |
| # CONFIG_MACH_ATSAM is not set | |
| # CONFIG_MACH_ATSAMD is not set | |
| # CONFIG_MACH_LPC176X is not set | |
| CONFIG_MACH_STM32=y | |
| # CONFIG_MACH_HC32F460 is not set | |
| # CONFIG_MACH_RP2040 is not set | |
| # CONFIG_MACH_PRU is not set | |
| # CONFIG_MACH_AR100 is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| substitutions: | |
| device: car1 | |
| name: CAR1 | |
| comment: "car1" | |
| esphome: | |
| name: mcu-${device} | |
| comment: ${comment} | |
| on_loop: | |
| then: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| export ESPHOME_IS_HA_ADDON=true | |
| while IFS=, read -r device | |
| do | |
| esphome compile ${device}.yaml | |
| done < devices_prod.csv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| source /srv/esphome/bin/activate | |
| /srv/esphome/esphome /srv/esphome/ dashboard |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # as root | |
| mkfs.msdos -C ~/test/gotek/DISKLABEL.img 1440 | |
| mkdir /media/floppy/ | |
| mount -o loop ~/test/gotek/DISKLABEL.img /media/floppy/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| [ 0] { | |
| :id => "1", | |
| :name => "Po1", | |
| :flags => [ | |
| [0] { | |
| :id => "S", | |
| :name => "Layer2" | |
| }, | |
| [1] { |