I hereby claim:
- I am emorydunn on github.
- I am emorydunn (https://keybase.io/emorydunn) on keybase.
- I have a public key ASAyWL46_a-NUmVMFrpwpSWtjTOd7qycH3qQ9GSqHhZt-Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Tiny Dash</title> | |
| <meta name="application-name" content="netdata"> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| #include <ESP8266WiFi.h> | |
| #include <PubSubClient.h> | |
| #define wifi_ssid "## SSID ##" | |
| #define wifi_password "## PASSWORD ##" | |
| #define mqtt_server "## SERVER IP ##" | |
| //#define mqtt_user "" | |
| //#define mqtt_password "" |
| #!/usr/bin/env python3 | |
| import argparse | |
| import base64 | |
| import json | |
| import os | |
| import shlex | |
| import subprocess | |
| import sys | |
| // | |
| // IncrementCounter.swift | |
| // | |
| // Created by Emory Dunn on 2019-04-01. | |
| // | |
| import Foundation | |
| extension URL { | |
| // A Swift script to Convert GPX files to GeoJSON files for import into Compass | |
| // The script takes a single argument, the GPX file, and saves out a matching GeoJSON file | |
| // | |
| // The GeoJSON is meant to be imported into Compass (https://github.com/aaronpk/Compass) | |
| // and thus is not "correct" GeoJSON | |
| import Foundation | |
| /// An object to handle converting a GPX file to GeoJSON | |
| struct GPXtoGeoJSON { |
| esphome: | |
| name: led_strip_1 | |
| platform: ESP8266 | |
| board: esp8285 | |
| includes: | |
| - custom_components/sonoff_l1.h | |
| wifi: | |
| // | |
| // WebSocketTaskPublisher.swift | |
| // | |
| // | |
| // Created by Emory Dunn on 5/23/21. | |
| // | |
| import Foundation | |
| import Combine |
| function emoji --description 'Download an Emoji from Slack' | |
| set url $argv | |
| # Download the file | |
| wget -q "$url" | |
| # Parse the URL. | |
| # Last component is the filename on the server | |
| # Second to last is the emoji name in Slack | |
| set urlComponents (string split "/" $url) |
| function finder_icons --description 'Script to toggle Finder icons' | |
| defaults read com.apple.finder CreateDesktop > /dev/null 2>&1 | |
| set enabled $status | |
| switch $argv[1] | |
| case off | |
| if test $enabled -eq 1 | |
| osascript -e 'tell application "Finder" to quit' | |
| defaults write com.apple.finder CreateDesktop false | |
| open -a Finder |