Skip to content

Instantly share code, notes, and snippets.

View jumoel's full-sized avatar

Julian Møller Ellehauge jumoel

View GitHub Profile
@jumoel
jumoel / main.js
Created September 14, 2016 11:10
React Router v4 `Route` Component
import React from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter as Router, Match } from 'react-router';
const Base = ({ children }) => <div><h1>Base</h1>{ children }</div>;
const Foo = ({ children }) => <div><h1>Foo</h1><pre>{ children }</pre></div>;
const Route = ({ pattern, component, children }) => {
const Component = component;
const Wrapped = (props) => {
@jumoel
jumoel / keybase.md
Created May 9, 2016 08:27
keybase.md

Keybase proof

I hereby claim:

  • I am jumoel on github.
  • I am jumoel (https://keybase.io/jumoel) on keybase.
  • I have a public key whose fingerprint is 50CB 6FB2 96E7 4B28 3760 D1EA 711E 181A C42D 984E

To claim this, I am signing this object:

@jumoel
jumoel / bookmarklet.js
Created May 22, 2013 09:38
politiken.dk splash-fjerner bookmarklet
javascript:((function(){jQuery("#meteroverlay,#teaserwrapper").hide();jQuery("body").css("overflow","auto");})())
@jumoel
jumoel / array_sampleif.rb
Created September 16, 2012 14:00
Array#sampleif
class Array
def sampleif
begin
a = self.sample
end until yield(a)
a
end
end
@jumoel
jumoel / Ønskeliste.md
Created August 12, 2012 12:29
Ønskeliste til navngivning