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
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)
# 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQl80edDmSo+ZyCrSp2Hsrbd4f+tORHEH9PfdEyxq5fYjWZVUE4X3vVuvOoekGdk2BkiYO9Oc6h1JmAkmvSROxfJ4rRaqhN+kOjLHlMz/zsdp2iqvWYS01QdFYum6nC6sg9FWMQPVa3emxUKbdIMUkB+yHhcX7eRINxfj+c4A2qsM2VTsrTcAd2J1eK+8Ysvu2XYhyvtOOWVuKcjhOb8bQFadHg1/RQjG0VeM1TuvYDwE54MuSom3LxrfpewGt6ZTZ7YrUQVceoOlJedQol+VeOvUXvaP3B/xRgllhvPLGTxMfAFatRiF8Bm6M6xHEttx8zgELSst8ISZMmV9Gx86Z pm@zeit.io
# 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$',
#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
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],
}));
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
Compiling @angular/material/stepper : module as esm5
Compiling angular-animations : module as esm5
NOW IT STOPS. NOTHING.
52% building 354/357 modules 3 active ...timizer/webpack-loader.js??ref--8-0!/Users/philippmeissner/....
@PhilippMeissner
PhilippMeissner / gist:21e387c544873c4381e74d56338c5c1b
Created February 25, 2020 12:32
Output which displays hanging after command
-----> Apt app detected
-----> Detected Aptfile or Stack changes, flushing cache
-----> Adding custom repositories
-----> Updating apt caches
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease [46.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,344 kB]
Get:6 http://apt.postgresql.org/pub/repos/apt bionic-pgdg/main amd64 Packages [293 kB]