Skip to content

Instantly share code, notes, and snippets.

View miathedev's full-sized avatar
🏠
Working from home

Mia miathedev

🏠
Working from home
  • 12:15 (UTC +02:00)
View GitHub Profile
@miathedev
miathedev / eink_demo.ino
Created November 15, 2019 15:07 — forked from xxlukas42/eink_demo.ino
MH-ET LIVE 1.54-inches E-Paper demo
#include <GxEPD.h>
#include <GxGDEP015OC1/GxGDEP015OC1.cpp>
#include <Fonts/OpenSansBold12pt7b.h>
#include <Fonts/OpenSansBold14pt7b.h>
#include <Fonts/OpenSansBold30pt7b.h>
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp>
#include <GxIO/GxIO.cpp>
#include GxEPD_BitmapExamples
@miathedev
miathedev / Dockerfile
Created November 7, 2018 20:02 — forked from ejhari/Dockerfile
GitLab CE with Postfix Send Only via Docker
FROM gitlab/gitlab-ce:latest
RUN echo "postfix postfix/main_mailer_type select Internet Site" | debconf-set-selections \
&& echo "postfix postfix/mailname string mysubdomain.mydomain.com" | debconf-set-selections \
&& apt-get install -y postfix
RUN apt-get install -y \
mailutils
RUN grep -q postfix-start.sh /assets/wrapper || sed -i \
@miathedev
miathedev / lirc-pi3.txt
Created November 1, 2018 07:24 — forked from prasanthj/lirc-pi3.txt
Getting lirc to work with Raspberry Pi 3 (Raspbian Stretch)
Notes to make IR shield (made by LinkSprite) work in Raspberry Pi 3 (bought from Amazon [1]).
The vendor has some documentation [2] but that is not complete and sufficient for Raspbian Stretch.
Following are the changes that I made to make it work.
$ sudo apt-get update
$ sudo apt-get install lirc
# Add the following lines to /etc/modules file
lirc_dev
lirc_rpi gpio_in_pin=18 gpio_out_pin=17