Skip to content

Instantly share code, notes, and snippets.

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

Philipp Meißner PhilippMeissner

🏠
Working from home
View GitHub Profile
#include <SPI.h>
#include <Wire.h>
// TMRh20 v1.3.1
#include <RF24.h>
#define POTI_PIN 3
#define CE_PIN 9
#define CSN_PIN 10
#define MAGIC_STORAGE_ADDRESS 0xE8E8F0F0E1LL
#include <SPI.h>
#include <Wire.h>
#include <RF24.h>
// https://quadmeup.com/generate-ppm-signal-with-arduino/
#define CHANNEL_NUMBER 1 //set the number of channels
#define CHANNEL_DEFAULT_VALUE 1000 //set the default servo value
#define FRAME_LENGTH 22500 //set the PPM frame length in microseconds (1ms = 1000µs)
#define PULSE_LENGTH 300 //set the pulse length
# See https://developers.google.com/adwords/api/docs/appendix/codes-formats#currency-codes
[
{
'code': 'AED',
'symbol': 'د.إ',
'name': 'United Arab Emirates Dirham',
},
{
'code': 'ARS',
'symbol': 'AR$',
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQl80edDmSo+ZyCrSp2Hsrbd4f+tORHEH9PfdEyxq5fYjWZVUE4X3vVuvOoekGdk2BkiYO9Oc6h1JmAkmvSROxfJ4rRaqhN+kOjLHlMz/zsdp2iqvWYS01QdFYum6nC6sg9FWMQPVa3emxUKbdIMUkB+yHhcX7eRINxfj+c4A2qsM2VTsrTcAd2J1eK+8Ysvu2XYhyvtOOWVuKcjhOb8bQFadHg1/RQjG0VeM1TuvYDwE54MuSom3LxrfpewGt6ZTZ7YrUQVceoOlJedQol+VeOvUXvaP3B/xRgllhvPLGTxMfAFatRiF8Bm6M6xHEttx8zgELSst8ISZMmV9Gx86Z pm@zeit.io
# Git aliases <3
alias gpl='git pull'
alias gps='git push'
alias gst='git status'
alias gc='git commit'
alias gap='git add --patch'
alias branches='git branch -a'
alias amend='git commit --amend'
# General aliases
module Main exposing (..)
import Html exposing (..)
import Html.App as Html
import Html.Attributes exposing (class, type', href, attribute, placeholder, id, style)
import Html.Events exposing (onInput)
import Element exposing (toHtml, centered, container, middle)
import Text exposing (fromString)