- healthcheck / pink
- application insights
- versjonsjekk mellom client og server
- sentry error tracking
- redirect for /personvern-og-cookies -> avinor
- proxy
- bilder
- login
- sikkerhetskontroll køtid
This file contains 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
http://flights.tjenester.avinor.no/flights/departure/ham?fromDate=2016-09-18&toDate=2016-09-20 | |
{ | |
"lastUpdated": "2016-09-16T15:47:12.274Z", | |
"flightLegs": [ | |
{ | |
"id": "ew4192-ham-osl-20160919", | |
"flightIds": [ | |
{ | |
"flightId": "EW4192", |
This file contains 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 { connect } from 'react-fela' | |
import React from 'react' | |
const App = ({ styles }) => ( | |
<div> | |
<h1 className={styles.heading}>Sorry</h1> | |
<h2 className={styles.ingress}>All your base are belong to us</h2> | |
<p className={styles.paragraph}>We know it's not nice, but you don't need it anyway.</p> | |
</div> | |
) |
This file contains 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 React from 'react' | |
import { Link } from 'react-router' | |
import { cashay as cashayClient } from '../client' | |
import { connect } from 'react-redux' | |
const FlightDetail = ({ request }) => { | |
const { data, isComplete } = request | |
if (!isComplete) { | |
return <div>Loading</div> |
This file contains 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
{ | |
flightsById: { | |
'sk4011-osl-svg-2016-06-09': { … }, | |
}, | |
flightRequests: { | |
'sk4011-osl-svg-2016-06-09': { | |
startedAt: '2016-06-08T17:44:00Z', | |
completedAt: '2016-06-08T17:44:00Z', | |
error: null, |
This file contains 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
const path = require('path') | |
const fs = require('fs') | |
import attempt from 'lodash/attempt' | |
const app = require('./app.json') | |
const readDotEnv = filePath => attempt( | |
fs.readFileSync(filePath, 'utf-8').split('\n').filter(Boolean) | |
) |
This file contains 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
@connectData({ | |
fetch: fetchMeals, | |
fromState: state => ({ | |
meal: state.meals[state.profile.preferredMeal] | |
mealToOld: state.meals[state.profile.preferredMeal].created > new Date() | |
}), | |
}) | |
This file contains 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
3 | |
KGS – Kos | |
4 | |
ALF – Alta | |
BOO – Bodø | |
DOH – Doha | |
FAO – Faro | |
NCE – Nice | |
OSL – Oslo |
This file contains 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 React, {Component} from 'react'; | |
import {render} from 'react-dom'; | |
import {Motion, spring} from 'react-motion'; | |
// helper to delay a prop being passed by `period` ms | |
class Delay extends Component{ | |
static defaultProps = { | |
period: 0 | |
}; | |
state = { |