I hereby claim:
- I am binarybucks on github.
- I am binarybucks (https://keybase.io/binarybucks) on keybase.
- I have a public key whose fingerprint is 5D27 1E8D B52A D2C1 7025 F888 8602 3E39 E680 F5BC
To claim this, I am signing this object:
| # This is the PKGBUILD for mosquitto, an MQTT broker and example clients | |
| # Maintainer: Alexander Rust <mail at alr dot st> | |
| # Contributor: Dan Anderson <dan-anderson at cox dptnet> | |
| pkgname=mosquitto | |
| pkgver=1.1.3 | |
| pkgrel=3 | |
| pkgdesc="An Open Source MQTT v3.1 Broker" | |
| arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') | |
| url="http://mosquitto.org/" |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| if ($_SERVER["HTTP_X_FORWARDED_FOR"] != "") { | |
| $IP = $_SERVER["HTTP_X_FORWARDED_FOR"]; | |
| $host = @gethostbyaddr($_SERVER["HTTP_X_FORWARDED_FOR"]); | |
| } else { | |
| $IP = $_SERVER["REMOTE_ADDR"]; | |
| $host = @gethostbyaddr($_SERVER["REMOTE_ADDR"]); | |
| } | |
| header('Content-Type: application/json'); |
| server { | |
| listen 443 default_server ssl; | |
| server_name CHANGEME | |
| server_tokens off; | |
| ssl_certificate CHANGEME.crt; | |
| ssl_certificate_key CHANGEME.key; | |
| ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
| ssl_prefer_server_ciphers on; | |
| ssl_session_cache shared:ssl_session_cache:10m; |
| // This #include statement was automatically added by the Particle IDE. | |
| #include "MQTT/MQTT.h" | |
| #include "HTU21D/HTU21D.h" | |
| int mqtt_port = 1883; | |
| byte mqtt_host[] = { 192,168,1,4 }; | |
| String device_id = System.deviceID(); | |
| String mqtt_topic_temp = "sensors/"+ device_id + "/temp"; | |
| String mqtt_topic_humidty = "sensors/" + device_id + "/humidity"; |
| object Host "me.owntracks.alr.st" { | |
| import "owntracks-host" | |
| } | |
| object Host "5s.owntracks.alr.st" { | |
| import "owntracks-host" | |
| } | |
| object Host "sm.owntracks.alr.st" { | |
| import "owntracks-host" |
| #include <Homie.h> | |
| #include "RCSwitch.h" | |
| #define MAX_STRING_LEN 25 | |
| RCSwitch mySwitch = RCSwitch(); | |
| int transmitPort = D0; | |
| String pad(String input, int len) |