View gist:fd4c15ad8b6cea7828c93a740a841ed7
index.html | |
``` | |
<script> | |
body > .splash > .spinner { | |
width: 50px; | |
height: 50px; | |
margin: 100px auto; | |
background-color: #676767; | |
border-radius: 100%; | |
-webkit-animation: sk-scaleout 1.0s infinite ease-in-out; |
View angular.json
{ | |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
"version": 1, | |
"newProjectRoot": "projects", | |
"projects": { | |
"XX-frontend": { | |
"root": "", | |
"sourceRoot": "src", | |
"projectType": "application", | |
"prefix": "XX", |
View gist:ac901fae1022c46859fe08b01b41c5fa
yarn install v1.22.0 | |
[1/5] 🔍 Validating package.json... | |
[2/5] 🔍 Resolving packages... | |
[3/5] 🚚 Fetching packages... | |
[4/5] 🔗 Linking dependencies... | |
warning " > @angular/http@7.2.16" has incorrect peer dependency "@angular/core@7.2.16". | |
warning " > @angular/http@7.2.16" has incorrect peer dependency "@angular/platform-browser@7.2.16". | |
warning " > @ngrx/effects@8.6.0" has incorrect peer dependency "@angular/core@^8.0.0". | |
warning " > @ngrx/router-store@8.6.0" has incorrect peer dependency "@angular/common@^8.0.0". | |
warning " > @ngrx/router-store@8.6.0" has incorrect peer dependency "@angular/core@^8.0.0". |
View gist:4a719870ac1dfb91776e4d728c528e69
-----> 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] |
View gist:21e387c544873c4381e74d56338c5c1b
-----> 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] |
View gist:34fad4c03b175a4adb55438654f999d5
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/.... |
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: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 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 | |
#define MAGIC_STORAGE_ADDRESS 0xE8E8F0F0E1LL |
View Receiver.ino
#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 |
NewerOlder