I hereby claim:
- I am alastairhm on github.
- I am alastairhm (https://keybase.io/alastairhm) on keybase.
- I have a public key whose fingerprint is 49E7 6E2A 660F B90E 287E 0359 FF26 CADE 8D86 70C1
To claim this, I am signing this object:
#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; |
I hereby claim:
To claim this, I am signing this object:
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 \ |
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" |
export OVPN_DATA="ovpn-data" | |
docker run --name $OVPN_DATA -v /etc/openvpn busybox | |
docker run --volumes-from $OVPN_DATA --rm kylemanna/openvpn ovpn_genconfig -u udp://$1:1194 | |
docker run --volumes-from $OVPN_DATA --rm -it kylemanna/openvpn ovpn_initpki | |
docker run --volumes-from ovpn-data -d -p 1194:1194/udp --cap-add=NET_ADMIN kylemanna/openvpn |
#!/bin/bash | |
export OVPN_DATA="ovpn-data" | |
docker run --volumes-from $OVPN_DATA --rm -it kylemanna/openvpn easyrsa build-client-full ${1} nopass | |
docker run --volumes-from $OVPN_DATA --rm kylemanna/openvpn ovpn_getclient pizero > ${1}.ovpn |
[Unit] | |
Description=Minio | |
Documentation=https://docs.minio.io | |
Wants=network-online.target | |
After=network-online.target | |
After=syslog.target network.target | |
AssertFileIsExecutable=<%= @installation_directory %>/minio | |
[Service] | |
WorkingDirectory=<%= @installation_directory %> |
require 'erb' | |
service = "localhost.local" | |
node = "localhost" | |
port = "port" | |
#simple_template = "<%= node %>:<%= port %>" | |
simple_template = "<%= service %>" | |
output = ERB.new(simple_template).result() |
iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 18079 | |
iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 443 -j REDIRECT --to-ports 18079 | |
iptables-save |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias ls='ls -G' | |
alias ll='ls -lG' | |
alias dir='ls -lG' | |
alias gits='git status' | |
alias gs='git status' | |
alias gl='git log' | |
alias ga='git add' | |
alias gd='git diff' |