Skip to content

Instantly share code, notes, and snippets.

View tablatronix's full-sized avatar

Shawn A tablatronix

View GitHub Profile
@tablatronix
tablatronix / powerMon_VoltageOnly.ino
Created January 30, 2020 01:33 — forked from ItKindaWorks/powerMon_VoltageOnly.ino
A small Arduino program to measure AC voltage using a voltage transformer
// EmonLibrary examples openenergymonitor.org, Licence GNU GPL V3
#include "EmonLib.h" // Include Emon Library
#define VOLT_CAL 148.7
EnergyMonitor emon1; // Create an instance
void setup()
{
@tablatronix
tablatronix / AutoConnectWithHTTPServer.ino
Last active March 4, 2018 15:14 — forked from tzapu/AutoConnectWithHTTPServer
WiFiManager auto connect and start a http web server
#include "WiFiManager.h" //https://github.com/tzapu/WiFiManager
#if defined(ESP32)
#include <WebServer.h>
using my_WebServer = WebServer;
#else
#include <ESP8266WebServer.h>
using my_WebServer = ESP8266WebServer;
#endif
@tablatronix
tablatronix / GetSimple\admin\inc\basic.php
Last active April 11, 2017 16:15 — forked from FL-Retiree/GetSimple\admin\inc\basic.php
GetSimple/SMTP Mail Functionality
<?php
/* ----------------------------------------------------------------------
This code fragment and addition to the GetSimple config file is designed to provide the capability to use SMTP mail when sending from
the GetSimple core application, not from plugins. For example, when sending a mail generated by a user request to "Reset Password"
GetSimple uses the built in PHP Mail() function only. Many hosting environments are now requiring that PHP scripts only use SMTP for
security reasons and thus this suggested change...
-------------------------------------------------------------------------
STEP #1 -
Add the following 2 lines to GSConfig.php:
@tablatronix
tablatronix / gist:4772549
Last active December 12, 2015 12:29 — forked from anonymous/gist:4772547
bboy compass config xml snippets
<com><!-- hold a prop -->
<type>menu</type>
<trigger>parrot</trigger>
<do>
<var>My Things/quickbar/prop/SB+-+Macaw+Parrot/Hold</var>
</do>
<return>Hold Parrot</return>
</com>
<com><!-- teleport to a doid -->