This file contains 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
#include <SoftwareSerial.h> | |
const int led_g = 2; | |
const int led_r = 9; | |
const int relay_1 = 4; | |
const int relay_2 = 5; | |
const int serial_tx = 11; | |
const int sw_top = 12; |
This file contains 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
Please update with customers submitted versions or ones we create inhouse. | |
PHP (from dan@ufn) | |
p_api_key = 'YOUR_API_KEY'; | |
$filter_json = '{ | |
"dashboard": 8227, | |
"embed": true, | |
"filters": [{"name": "AccountIDs", "value": "71005"}] | |
}'; | |
$encode_json = urlencode(str_replace(' ','',$filter_json)); |
This file contains 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
package main | |
import "fmt" | |
import "io" | |
type notACloser struct { | |
Close func() error | |
} | |
func close() error { |
This file contains 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
package main | |
import ( | |
"flag" | |
"fmt" | |
"strings" | |
) | |
const DB_REDSHIFT = "redshift" | |
const DB_POSTGRES = "postgres" |