Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am wwwillchen on github.
  • I am willchen (https://keybase.io/willchen) on keybase.
  • I have a public key ASDjbFK1JUmfoKPTbbvoh6ih1pwhN4SMawUaoTCge1YpXgo

To claim this, I am signing this object:

@wwwillchen
wwwillchen / copy-tests-book.js
Created January 13, 2017 22:01
Copy Failed Layout Tests as a Bookmark
javascript:var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(a){return $jscomp.SYMBOL_PREFIX+(a||"")+$jscomp.symbolCounter_++};$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.iterator;a||(a=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&$jscomp.defineProperty(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIt
import React from 'react';
import TodoApp from './TodoApp';
import { createRedux } from 'redux';
import { Provider } from 'redux/react';
import * as stores from '../stores';
const redux = createRedux(stores);
export default class App {
render() {
<dict>
<key>PayloadType</key>
<string>com.apple.mail.managed</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadIdentifier</key>
<string>com.apple.mdm.server.local.9aff7590-29cf-0132-aec7-1234569012.alacarte.email.1a2b3c4d-29d0-0132-aec9-000c292f</string>
<key>PayloadUUID</key>
<string>5b041780-29d0-0135-aec9-000c432567</string>
<key>PayloadEnabled</key>
@wwwillchen
wwwillchen / gist:817316ac9bc9e324ce7b
Created March 21, 2015 04:55
Compute: Example syntax
# Example healthcare data set
# Benchmarking the productivity vs cost of doctors
# Rules the code must follow:
# - Must be valid Python code (don't use existing syntax)
# Rules the spreadsheet must follow:
# - No formulas; only hard-coded values
# Define the variables
env:
node: true # for node.js environments
# Rules
# Rules in ESLint are divided into several categories to help you better understand their value.
# Additionally, not all rules are enabled by default.
# Those that are not enabled by default are marked as being off.
#
# 0: # turn the rule off
@wwwillchen
wwwillchen / gist:52921c2db0ecdc369c0e
Created March 2, 2015 08:17
ESLint: Boilerplate
env:
node: true # for node.js environments
# Rules
# Rules in ESLint are divided into several categories to help you better understand their value.
# Additionally, not all rules are enabled by default.
# Those that are not enabled by default are marked as being off.
#
# 0: # turn the rule off