I hereby claim:
- I am johannestroeger on github.
- I am johannestroeger (https://keybase.io/johannestroeger) on keybase.
- I have a public key whose fingerprint is EFE7 4A37 B563 0D8C B73D 4963 387B BB28 7436 B4F1
To claim this, I am signing this object:
| import * as React from 'react'; | |
| function simpleComponentWrap<P>( | |
| Comp: React.ComponentClass<P> | React.StatelessComponent<P>, | |
| ): React.ComponentClass<P> { | |
| return class WrappedComponent extends React.Component<P, void> { | |
| render() { | |
| return <Comp {...this.props} />; | |
| } | |
| }; |
| import * as React from 'react'; | |
| function asList<P>(ItemComponent: React.ComponentClass<P> | React.StatelessComponent<P>) { | |
| return function List({ items }: { items: P[] }) { | |
| return ( | |
| <ol> | |
| {items.map((item, idx) => | |
| <li key={idx}> | |
| <ItemComponent {...item} /> | |
| </li>) |
| const fractal = require('@frctl/fractal').create() | |
| require('./setup')(fractal) | |
| const server = require('./server')(fractal, { | |
| port: 4000, | |
| sync: true, | |
| watch: true, | |
| syncOptions: { | |
| files: [ | |
| 'files-i-want-to-watch-also.css', |
| import Immutable from 'immutable' | |
| import Bacon from 'baconjs' | |
| import h from 'virtual-dom/h' | |
| import diff from 'virtual-dom/diff' | |
| import patch from 'virtual-dom/patch' | |
| import createElement from 'virtual-dom/create-element' | |
| const INCREMENT = 'INCREMENT' | |
| const DECREMENT = 'DECREMENT' |
| --- | |
| # ^^^ YAML documents must begin with the document separator "---" | |
| # | |
| #### Example docblock, I like to put a descriptive comment at the top of my | |
| #### playbooks. | |
| # | |
| # Overview: Playbook to bootstrap a new host for configuration management. | |
| # Applies to: production | |
| # Description: | |
| # Ensures that a host is configured for management with Ansible. |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| div > :not(:empty) { | |
| display: none; | |
| } | |
| </style> |
| // ---- | |
| // Sass (v3.3.9) | |
| // Compass (v1.0.0.alpha.20) | |
| // ---- | |
| // markup | |
| // <div class="m-box ${modifier}"> | |
| // <div class="m-box__head">Hallo i am the Head</div> | |
| // </div> |
| var slice = Array.prototype.slice; | |
| // value to be checked: | |
| var value = 1; | |
| // limits | |
| var max = 100; | |
| var min = 10; | |
| // checker to create checkCommand on a value | |
| var checker = function (/* validators */) { | |
| var validators = slice.call(arguments); | |
| return function (val) { |
I hereby claim:
To claim this, I am signing this object:
| @charset "UTF-8"; | |
| @mixin grab-cursor { | |
| // http://www.google.com/intl/en_ALL/mapfiles/openhand.cur | |
| cursor: url('data:image/vnd.microsoft.icon;base64,AAACAAEAICACAAcABQAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAAAEAAAAAAAAAAAAAAgAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8AAAA/AAAAfwAAAP+AAAH/gAAB/8AAA//AAAd/wAAGf+AAAH9gAADbYAAA2yAAAZsAAAGbAAAAGAAAAAAAAA//////////////////////////////////////////////////////////////////////////////////////gH///4B///8Af//+AD///AA///wAH//4AB//8AAf//AAD//5AA///gAP//4AD//8AF///AB///5A////5///8='), all-scroll; | |
| // cursor: -webkit-grab; | |
| cursor: -moz-grab; | |
| cursor: -o-grab; | |
| cursor: -ms-grab; | |
| cursor: grab; |