Skip to content

Instantly share code, notes, and snippets.

View mikhuang's full-sized avatar

Michael Huang mikhuang

View GitHub Profile
@mikhuang
mikhuang / README.md
Last active September 15, 2017 15:51
Asana task title formatted for Github bookmarklet

This bookmarklet is probably overkill and doesn't work with subtasks. Instead, just copy and paste the Asana task's link into your commit message and the relevant task will show up in Asana.

To quickly copy and paste your browser's current link: command-L then command-C. Works on any page ;-)


old stuff:

  1. Install Github Services Asana integration
@mikhuang
mikhuang / README.md
Last active January 6, 2017 01:02 — forked from eric1234/README.md
Polyfill for HTML5 required attribute

Purpose

Polyfill to provide support for the HTML5 "required" attribute on older browsers.

Does not provide a fancy interface like many browsers. Just a simple popup to let the user know the form is not ready. If users want a nicer interface they should use a nicer browser. :)

Usage

import React, { Component } from 'react'
import { connect } from 'react-redux'
import {merge, assign, isEmpty} from 'lodash'
import Form from "react-jsonschema-form"
import {nestDataByLevels, getNestedData} from './../models/modelUtil'
//import { Popover, PopoverContent } from 'reactstrap';
import paymentActions from '../actions/payments'
import cuid from 'cuid'