This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv='Content-type' content='text/html; charset=utf-8'> | |
<title>Basic Example with JSX</title> | |
<link rel="stylesheet" href="base.css" /> | |
</head> | |
<body> | |
<h1>ReactJs + RxJs</h1> | |
<div id="container"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compiler-check: match-exact | |
resolver: lts-7.10 | |
compiler: ghc-8.0.1.20161117 | |
setup-info: | |
ghc: | |
linux64: | |
8.0.1.20161117: | |
url: http://downloads.haskell.org/~ghc/8.0.2-rc1/ghc-8.0.1.20161117-x86_64-deb8-linux.tar.xz | |
content-length: 112047972 | |
sha1: 6a6e4c9c53c71cc84b6966a9f61948542fd2f15a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* Collapses tabular result sets into a (hierarchical) object graph based on | |
* column nomenclature. Given a query that selects parent and child columns as | |
* parent__id, parent__val, children__id, children__val, this will return an | |
* array of objects in the form | |
* | |
* {id: 1, val: 'parent val', children: [{id: 11, val: 'child val'}]} | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { render } from 'react-dom'; | |
import Root from './components/root.jsx'; | |
import { silentSwap } from './lib/atom'; | |
import { fromJS } from 'immutable'; | |
import './stores/ui'; | |
const initialState = { | |
ui: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "../../../../vendor/angular-ui-grid-src/src/less/grid"; | |
@import "../../../../vendor/angular-ui-grid-src/src/less/header"; | |
@import "../../../../vendor/angular-ui-grid-src/src/less/body"; | |
@import "../../../../vendor/angular-ui-grid-src/src/less/cell"; | |
@import "../../../../vendor/angular-ui-grid-src/src/less/native-scrollbar"; | |
@import "../../../../vendor/angular-ui-grid-src/src/less/footer"; | |
@import "../../../../vendor/angular-ui-grid-src/src/less/menu"; | |
@import "../../../../vendor/angular-ui-grid-src/src/less/sorting"; | |
@import "../../../../vendor/angular-ui-grid-src/src/less/icons"; | |
@import "../../../../vendor/angular-ui-grid-src/src/less/rtl"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env stack | |
{- | |
stack | |
--resolver lts-8.4 | |
--install-ghc | |
runghc | |
--package aeson | |
--package aeson-casing | |
--package base | |
--package bytestring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile for web development with: | |
# 1. ES6 / Babel compiler | |
# setup: npm install babel | |
# 2. Bundler (Webpack or Browserify) | |
# setup: npm install webpack|browserify | |
# 3. Static Web Server | |
# setup: npm install http-server | |
WEBMAKE = webmake | |
WEBPACK = webpack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build with | |
# docker build -t 'necrobious/haskell-ghc-7.8-64' . | |
FROM ubuntu:14.04 | |
MAINTAINER necrobious@gmail.com | |
ENV DEBIAN_FRONTEND noninteractive | |
####### Install Dependencies ################################################### | |
RUN apt-get -y update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import debounce from 'utils/debounce'; | |
class EmailInput extends React.Component { | |
checkEmail = value => { | |
// only check if the field passes Yup email validation first | |
if ( | |
!this.props.form.errors[this.props.name].includes( | |
'invalid' /* or whatever your error message is*/ | |
) |
OlderNewer