I hereby claim:
- I am mikker on github.
- I am mikker (https://keybase.io/mikker) on keybase.
- I have a public key whose fingerprint is 7637 1965 3449 BB63 42E3 87C9 0A4E 6062 8E75 4DD9
To claim this, I am signing this object:
Metrics/BlockLength: | |
Exclude: | |
- "spec/**/*_spec.rb" | |
Rails/Delegate: | |
Enabled: false | |
Rails/HasAndBelongsToMany: | |
Enabled: false |
Verifying my Blockstack ID is secured with the address 17Wp7UfqKqy6JsjRF5w2yHi2jaZBMQcZt8 https://explorer.blockstack.org/address/17Wp7UfqKqy6JsjRF5w2yHi2jaZBMQcZt8 |
/* globals fetch */ | |
require('isomorphic-fetch') | |
const { parse } = require('url') | |
const { send } = require('micro') | |
module.exports = async (req, res) => { | |
const { query } = parse(req.url) | |
res.setHeader('Access-Control-Allow-Origin', '*') | |
res.setHeader('Content-Type', 'application/json') |
import { Component } from 'react' | |
import { Provider, connect } from 'react-redux' | |
import { reducer, initStore } from './store' | |
export default function Connected (...args) { | |
return function (Comp) { | |
return class StoreComponent extends Component { | |
static getInitialProps ({ req }) { | |
const isServer = !!req | |
const store = initStore(reducer, undefined, isServer) |
require 'ostruct' | |
# Make little bundles of variables using Let {} | |
# | |
# example: | |
# things = Let { | |
# self.posts = Post.all | |
# self.comments = Comment.where(post: posts) | |
# } | |
# |
import React, { Component, PropTypes } from 'react' | |
import { connect } from 'react-redux' | |
/* ACTIONS */ | |
export const ADD = 'something_clever/ADD' | |
export function add () { | |
return { type: ADD } | |
} |
import React, { Component, PropTypes } from 'react' | |
import { findDOMNode } from 'react-dom' | |
class TrixEditor extends Component { | |
static propTypes = { | |
value: PropTypes.string, | |
onChange: PropTypes.func | |
} | |
componentDidMount () { |
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<title> Test display of HTML elements </title> | |
<!-- based off of https://www.cs.tut.fi/~jkorpela/www/testel.html, with additions of newer features --> | |
</head> | |
<body> | |
<header> | |
<h1>Testing display of HTML elements</h1> |
defmodule Receipts.VCRCase do | |
use ExUnit.CaseTemplate | |
using do | |
quote do | |
use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney | |
end | |
end | |
setup_all do |
I hereby claim:
To claim this, I am signing this object: