This file contains hidden or 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
/******************************************************************* | |
Read YouTube Channel statistics from the YouTube API | |
* * | |
By Brian Lough | |
https://www.youtube.com/channel/UCezJOfu7OtqGzd5xrP3q6WA | |
*******************************************************************/ | |
#include <YoutubeApi.h> | |
#include <ESP8266WiFi.h> | |
#include <WiFiClientSecure.h> |
This file contains hidden or 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
/*************************************************** | |
This is a library for our I2C LED Backpacks | |
Designed specifically to work with the Adafruit LED Matrix backpacks | |
----> http://www.adafruit.com/products/ | |
----> http://www.adafruit.com/products/ | |
These displays use I2C to communicate, 2 pins are required to | |
interface. There are multiple selectable I2C addresses. For backpacks | |
with 2 Address Select pins: 0x70, 0x71, 0x72 or 0x73. For backpacks |
This file contains hidden or 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 <ESP8266WiFi.h> | |
#include <TM1637Display.h> | |
#include <ezTime.h> | |
// Both can be installed from library manager | |
char ssid[] = "SSID"; // your network SSID (name) | |
char password[] = "password"; // your network password | |
// Module connection pins (Digital Pins) |
This file contains hidden or 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
/********************************************************************* | |
This is an example sketch for our Monochrome Nokia 5110 LCD Displays | |
Pick one up today in the adafruit shop! | |
------> http://www.adafruit.com/products/338 | |
These displays use SPI to communicate, 4 or 5 pins are required to | |
interface | |
Adafruit invests time and resources providing this open source code, |
This file contains hidden or 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
country=ie | |
update_config=1 | |
ctrl_interface=/var/run/wpa_supplicant | |
network={ | |
scan_ssid=1 | |
ssid="ssid" | |
psk="password" | |
} |
This file contains hidden or 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 <Wire.h> | |
#define ttp229 (0xAF>>1) | |
uint16_t data_out = 0; | |
uint16_t data1, data2; | |
int count = 0; | |
boolean count2 = false; | |
// https://github.com/witnessmenow/BPLib | |
#include <BPLib.h> | |
#include <SoftwareSerial.h> |
This file contains hidden or 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
Create the backup.sh file and paste in contents of the file | |
Edit the crontab: crontab -e | |
30 2 * * * /root/backup.sh |
This file contains hidden or 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
const webpack = require('webpack'); | |
module.exports = { | |
entry: './wrapper.js', | |
output: { | |
libraryTarget: 'var', | |
library: 'showChatTemplate', | |
path: 'builds', | |
filename: 'chat-template-min.js', | |
}, |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<base href="/"> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | |
<title>react-webpack-wrapper-example</title> |
This file contains hidden or 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
module.exports = { | |
entry: './wrapper.js', | |
output: { | |
libraryTarget: 'var', | |
library: 'showChatTemplate', | |
path: 'builds', | |
filename: 'chat-template.js', | |
}, | |
module: { |