Skip to content

Instantly share code, notes, and snippets.

@charlesrg
charlesrg / gist:6286032
Created August 20, 2013 19:28
Puppet run error: Could not evaluate: Field 'key' is required
[root@ny4lpoms2] ~ # puppet agent --test
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/openlldp.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/gateway.rb
@charlesrg
charlesrg / README.md
Last active March 30, 2018 17:46
Air quality Index Widget using airnow.gov for Smashing or Dashing

Display Air Quality Report from AIRNOW.gov

This requests data from Airnow API.

Preview

##Preview

@charlesrg
charlesrg / gist:425ec526a05566cceadcebe78860611d
Created July 13, 2021 17:15
ESP32 Touch Capacitive with WIFI OTA and sending readings over UDP
#include <WiFi.h>
#include <ESPmDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
const char* ssid = "WIFI_SSID";
const char* password = "WIFI_PASSWORD";
const char * udpAddress = "192.168.10.6"; //IP TO SEND UDP Packets with Reading. (UDP so there is no need of a connection state)