Skip to content

Instantly share code, notes, and snippets.

View alastairhm's full-sized avatar

Alastair Montgomery alastairhm

View GitHub Profile
@alastairhm
alastairhm / gist:5185969
Last active December 15, 2015 02:19 — forked from RC1140/gist:3299197
#include <LiquidCrystal.h>
#include <string.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
char message[] = "This is some long message that will end up scrolling";
int previous = 0;
int pos = 0;
@alastairhm
alastairhm / Dockerfile.slack
Last active August 12, 2016 10:47 — forked from alexellis/Dockerfile.slack
Slack Dockerfile for 2.1.0
FROM debian:stretch
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gconf2 \