I hereby claim:
- I am arnarthor on github.
- I am arnarthor (https://keybase.io/arnarthor) on keybase.
- I have a public key whose fingerprint is 9BC2 6961 B8AE 2489 5F8C 1C6A 2505 5052 5E94 8E3C
To claim this, I am signing this object:
% A basic LaTeX document for a handin with a | |
% standard RU title page | |
% If you want the title to appear on a separate | |
% page, change notitlepage to titlepage | |
\documentclass[11pt,a4paper,notitlepage]{amsart} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
% If your hand-in is in icelandic change english to icelandic | |
% Note: This has nothing to do with Icelandic characters, they |
I hereby claim:
To claim this, I am signing this object:
curl -X POST http://127.0.0.1:9200/kodemon/execution/_mapping?pretty=true -d ' | |
{ | |
"execution": { | |
"properties": { | |
"key": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"token": { | |
"type": "string", |
addFlight(flight) { | |
// If we are home | |
if(flight.stateData === 'homeDest'){ | |
return; | |
} | |
let flights = _.clone(this.state.flights); | |
let lastFlight; | |
// If we got a succesfull new flight |
/** | |
* Put this in your env (or something similar) | |
* ELASTICSEARCH_TOPICS_URL=elasticsearch://localhost:9300,localhost2:9300 | |
*/ | |
/** | |
* This is all I need to do to connect using the elasticsearch protocol. | |
*/ | |
def apply(esHosts: String, clusterName: String): ElasticClient = { |
// server.js | |
function sendHtml(req, res) { | |
const data = { | |
request: { | |
id: req.id, | |
}, | |
me: req.player | |
}; |
/* @flow */ | |
import _ from 'lodash'; | |
import React, {Component} from 'react'; | |
import makeDebug from 'debug'; | |
import styles from './index.css'; | |
const debug = makeDebug('component:SpeechRecognition'); | |
type Props = { |
const express = require('express'); | |
const cars = [{type: 'Nissan', model: 2016}, {type: 'Nissan', model: 2015}, {type: 'Toyota', model: 2016}, {type: 'Kia', model: 2016}] | |
const punches = [{count: 5, name: 'Arnar'}, {count: 6, name: 'Daníel'}, {count: 10, name: 'Axel'}]; | |
const app = express(); | |
app.get('/goodCarFilter/:year', (req, res) => { | |
const filteredCars = cars.filter((car) => { | |
return car.model === parseInt(req.params.year); | |
}) |
I hereby claim:
To claim this, I am signing this object:
[@bs.module "react-router-dom"] external browserRouter : ReasonReact.reactClass = "BrowserRouter"; | |
[@bs.module "react-router-dom"] external route : ReasonReact.reactClass = "Route"; | |
[@bs.module "react-router-dom"] external link : ReasonReact.reactClass = "Link"; | |
[@bs.module "react-router-dom"] external navLink : ReasonReact.reactClass = "NavLink"; | |
[@bs.module "react-router-dom"] external _switch : ReasonReact.reactClass = "Switch"; |