Skip to content

Instantly share code, notes, and snippets.

package templatecloner.utils
import com.google.common.io.CharStreams
import java.io.InputStream
import java.io.InputStreamReader
import java.time.ZoneId
import org.yaml.snakeyaml.Yaml
object YamlParser {

en vrac, du léger et du moins léger (tjs privilégier les vidéos sur la spécialité de la chaîne)

<Switch>
<Route path={Routes.LOGIN} component={LoginRoute}/>
<Route path={Routes.ROOT} render={props => <AuthenticatedRoute>
<Route path={Routes.WHATEVER} component={Whatever}/>
</AuthenticatedRoute>}/>
</Switch>

Keybase proof

I hereby claim:

  • I am mathieulorber on github.
  • I am mathieulorber (https://keybase.io/mathieulorber) on keybase.
  • I have a public key whose fingerprint is CB91 2D0E 31C7 7660 5419 B2FA 254A 8750 3C36 BDB0

To claim this, I am signing this object:

@MathieuLorber
MathieuLorber / App.js
Last active November 22, 2017 06:24
Attempt of react-router v4 onEnter replacement
import React, {PropTypes} from "react";
import {BrowserRouter as Router, Route, Link} from "react-router-dom";
// from the documentation Auth example
// https://reacttraining.com/react-router/examples
const Test = () => (
<Router>
<div>
<ul>