Skip to content

Instantly share code, notes, and snippets.

Working from home

Philipp Meißner PhilippMeissner

Working from home
View GitHub Profile
View Elm Stuff
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)
View .zsh_aliases
# 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
View public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQl80edDmSo+ZyCrSp2Hsrbd4f+tORHEH9PfdEyxq5fYjWZVUE4X3vVuvOoekGdk2BkiYO9Oc6h1JmAkmvSROxfJ4rRaqhN+kOjLHlMz/zsdp2iqvWYS01QdFYum6nC6sg9FWMQPVa3emxUKbdIMUkB+yHhcX7eRINxfj+c4A2qsM2VTsrTcAd2J1eK+8Ysvu2XYhyvtOOWVuKcjhOb8bQFadHg1/RQjG0VeM1TuvYDwE54MuSom3LxrfpewGt6ZTZ7YrUQVceoOlJedQol+VeOvUXvaP3B/xRgllhvPLGTxMfAFatRiF8Bm6M6xHEttx8zgELSst8ISZMmV9Gx86Z
View Adwords API Currencies
# See
'code': 'AED',
'symbol': 'د.إ',
'name': 'United Arab Emirates Dirham',
'code': 'ARS',
'symbol': 'AR$',
View Receiver.ino
#include <SPI.h>
#include <Wire.h>
#include <RF24.h>
#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
View Sender.ino
#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
View gist:a96c2686cad6214dc3261b3b48162c98
import {HttpClientTestingModule, HttpTestingController} from '@angular/common/http/testing';
import {inject, TestBed} from '@angular/core/testing';
import {AviorBackendService} from './avior-backend.service';
describe('AviorBackendService', () => {
beforeEach(() => TestBed.configureTestingModule({
imports: [HttpClientTestingModule],
providers: [AviorBackendService],
View gist:654c599394cd66a9e56fc25a78270a25
Compiling @Angular/core : module as esm5
Compiling @Angular/common : module as esm5
Compiling @Angular/platform-browser : module as esm5
Compiling @Angular/platform-browser-dynamic : module as esm5
Compiling @Angular/common/http : module as esm5
Compiling @Angular/forms : module as esm5
Compiling @Angular/cdk/keycodes : module as esm5
Compiling @Angular/cdk/platform : module as esm5
Compiling @Angular/cdk/observers : module as esm5
Compiling @Angular/cdk/a11y : module as esm5
View gist:34fad4c03b175a4adb55438654f999d5
Compiling @angular/material/stepper : module as esm5
Compiling angular-animations : module as esm5
52% building 354/357 modules 3 active ...timizer/webpack-loader.js??ref--8-0!/Users/philippmeissner/....
PhilippMeissner / gist:21e387c544873c4381e74d56338c5c1b
Created Feb 25, 2020
Output which displays hanging after command
View gist:21e387c544873c4381e74d56338c5c1b
-----> Apt app detected
-----> Detected Aptfile or Stack changes, flushing cache
-----> Adding custom repositories
-----> Updating apt caches
Get:1 bionic InRelease [242 kB]
Get:2 bionic-pgdg InRelease [46.3 kB]
Get:3 bionic-security InRelease [88.7 kB]
Get:4 bionic-updates InRelease [88.7 kB]
Get:5 bionic/main amd64 Packages [1,344 kB]
Get:6 bionic-pgdg/main amd64 Packages [293 kB]