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
#!/usr/bin/perl | |
use strict; | |
use Roku::RCP; | |
use GD; | |
use Image::Resize; | |
# connect to Roku | |
my $rcp = new Roku::RCP('192.168.5.40'); |
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
; Configuration file for Duet WiFi (firmware version 1.20 or newer) | |
; executed by the firmware on start-up | |
; | |
; generated by RepRapFirmware Configuration Tool on Thu May 10 2018 12:24:40 GMT-0300 (ADT) | |
; General preferences | |
G90 ; Send absolute coordinates... | |
M83 ; ...but relative extruder moves | |
M667 S1 ; Select CoreXY mode |
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
#!/opt/local/bin/perl | |
# ^ perl installed using Homebrew | |
# make it harder to suck | |
use strict; | |
use warnings; | |
# mediainfo command | |
my $height_cmd = "/usr/local/bin/mediainfo '--Inform=Video;%Height%' "; |
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
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
server { | |
# Update this line to be your domain | |
server_name homeassistant.domain.net; | |
# These shouldn't need to be changed |
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
esphome: | |
name: geiger-counter | |
friendly_name: Geiger Counter | |
external_components: | |
- source: github://TheStaticTurtle/esphome_syslog | |
components: [syslog] | |
esp8266: | |
board: nodemcuv2 |
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
#!/usr/bin/python3 | |
import os,time | |
# {"seg":{"i":[0,"FF0000",1,"00FF00",2,"FFFFFF",3,"FF0000"]}} | |
led_count = 200 | |
wled_ip = '192.168.10.11' | |
#curl --header "Content-Type: application/json" \ |
OlderNewer