This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
de eerste is dat in elke applicatie als je een appbar met menu nodig hebt je volledig JSX structuur | |
opnieuw moet opbouwen (wel super flexibel en vrij) | |
*/ | |
import { | |
Box, | |
ButtonBase, | |
IconButton, | |
ListItem, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Workout name", | |
"difficulty": 1, | |
"duration": 1, | |
"asset": { | |
"url": "www.assets.com", | |
"type": "video/mp4" | |
}, | |
"rounds": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type PipelineStep { | |
id: ID! @unique | |
stepOrder: Int | |
definition: StepDefinition | |
} | |
enum MODULE_TYPE { | |
DOCKER | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.ClearanceOverviewDockableFrame.getJSPreferences = function() { | |
return `{ "filter": { "transferred": false, "movement": true, "isps": false, "substances": false, "channelBound": false, "hoursFutureArrivalTransit": 0, "hoursFutureDepartureShift": 0, "hoursFutureISPS": 0, "hoursFutureSubstances": 0 }, "follow": true, "sorts": [{ "prop": "beginTime", "dir": "desc" }, { "prop": "draught", "dir": "asc" }, { "prop": "length", "dir": "asc" }, { "prop": "beam", "dir": "asc" } ], "sizes": {}, "order": [{ "prop": "ucrn", "order": 0 }, { "prop": "type", "order": 1 }, { "prop": "reasons", "order": 2 }, { "prop": "callSign", "order": 3 }, { "prop": "shipName", "order": 4 }, { "prop": "beginTime", "order": 5 }, { "prop": "movementType", "order": 6 }, { "prop": "destination", "order": 7 }, { "prop": "length", "order": 8 }, { "prop": "beam", "order": 9 }, { "prop": "draught", "order": 10 }, { "prop": "shipType", "order": 11 }, { "prop": "orderStatus", "order": 12 } ] }` | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "MCP9808.h" | |
MCP9808::MCP9808(PinName sda, PinName scl) : i2c(sda, scl) | |
{ | |
} | |
// read temperature from MCP9808 | |
float MCP9808::readTemp() | |
{ | |
data_write[0] = MCP9808_REG_TEMP; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as clearanceSelectors from "../selectors"; | |
import {Injectable} from "@angular/core"; | |
import {Actions, Effect} from "@ngrx/effects"; | |
import {Observable} from "rxjs"; | |
import { | |
ACTION_AUTO_REFRESH_TIMEOUT_OCCURRED, | |
ACTION_COLUMN_ORDER_UPDATED, | |
ACTION_COLUMN_WIDTH_UPDATED, | |
ACTION_COLUMN_SORT_UPDATED, | |
ACTION_FILTER_UPDATED, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import auth0 from 'auth0-js' | |
import { AUTH_CONFIG } from './auth0-variables' | |
import EventEmitter from 'EventEmitter' | |
import router from './../router' | |
export default class AuthService { | |
// Initiating our Auth0Lock | |
lock = new Auth0Lock( | |
AUTH_CONFIG.clientId, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* tslint:disable:no-unused-variable */ | |
import { AppComponent } from './app.component'; | |
import { TestBed } from '@angular/core/testing'; | |
import { By } from '@angular/platform-browser'; | |
import {TranslateService, TranslateModule} from "ng2-translate/ng2-translate"; | |
NewerOlder