git init
git remote add origin url://to/source/repository
git fetch origin # SHA #
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>title</title> | |
<link rel="stylesheet" href="style.css"> | |
<style> | |
* { | |
padding: 0px; | |
margin: 0px; |
export const selectIt = (path, obj) => path && | |
path.split('.').reduce((mem, property) => mem && mem[property], obj) |
version: '2' | |
services: | |
replica1: | |
image: mongo:3.0 | |
container_name: mongo1 | |
ports: | |
- "27017:27017" | |
volumes: | |
- ./mongodata/replica1:/data/db | |
command: mongod --smallfiles --replSet "mrmtx" |
var count = 0; | |
function autoScrolling() { | |
var interval = 200; | |
window.scrollTo(0, document.body.scrollHeight); | |
$('.ProfileCard-content').each(function() { | |
var status = $(this) | |
.find('.FollowStatus') | |
.text(); | |
var unfollowButton = $(this).find('.user-actions-follow-button'); | |
if (status != 'Follows you') { |
subprojects { | |
afterEvaluate {project -> | |
if (project.hasProperty("android")) { | |
android { | |
compileSdkVersion 25 | |
buildToolsVersion '25.0.0' | |
} | |
} | |
} | |
} |
import React from 'react' | |
import 'prop-types' | |
import GridFactory, { GridContainerFactory } from '../GridContainer' | |
import { mount } from 'enzyme' | |
const mockRequestAction = { type: 'REQUEST_ACTION_TEST' } | |
const List = ({ records }) => <ul records={records}></ul> | |
const props = { | |
addFormUniqueName: 'form1', | |
reducerName: 'form-test-x', |
export default { | |
'users': 'User' | |
} |
import React from 'react' | |
import FormValidate, { ErrorComponent, identity, ruleValidate, validator } from '../Form_HOC' | |
import { mount } from 'enzyme' | |
import { withHandlers } from 'recompose' | |
import { Stateful } from 'react-mock' | |
describe('FormValidate', () => { | |
let Form | |
let wrapper | |
let stateful |