Skip to content

Instantly share code, notes, and snippets.

View paulcdb's full-sized avatar

Paul Thomas paulcdb

View GitHub Profile

Keybase proof

I hereby claim:

  • I am paulcdb on github.
  • I am paulcdb (https://keybase.io/paulcdb) on keybase.
  • I have a public key whose fingerprint is 7A64 192A 116E 165D B031 9022 413C F4BC 1269 9D2D

To claim this, I am signing this object:

@paulcdb
paulcdb / WemosDotMatrix.ino
Last active August 28, 2018 11:17
Wemos D1 Mini Lolin - Wifi Streaming Status Dot Matrix
#include <ESP8266WiFi.h>
#include <WEMOS_Matrix_LED.h>
MLED mled(5); //set intensity=5
const char* ssid = "Your Wifi Name";
const char* password = "Your Wifi Password";
// IPAddress ip(x, x, x, x); // Not always needed but if Serial console says 10.0.0.x, uncomment and add your IP
int Status = 0;
WiFiServer server(80);
@paulcdb
paulcdb / docker-install.sh
Created September 3, 2018 13:23
I like the instructions on the digitalocean.com but got tired of having to copy each command so put them all in a script that can be downloaded and run.
# Script for Unbuntu 18.04
# Once done, you should just be able to type docker... etc.
sudo apt update
sudo apt install apt-transport-https ca-certificates
curl software-properties-commoncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"