git log --oneline 7de7970..master
OR
git log --oneline 7de7970..4cb34a9
Above command will give all logs between commit A and commit B including commit A and commit B.
git log --oneline 7de7970..master
OR
git log --oneline 7de7970..4cb34a9
Above command will give all logs between commit A and commit B including commit A and commit B.
import React, { Component } from 'react'; | |
import PropTypes from 'prop-types'; | |
import { accessor } from 'react-big-calendar/lib/utils/accessors'; | |
import { accessor as accessorPropType } from 'react-big-calendar/lib/utils/propTypes'; | |
import { noop } from 'lodash'; | |
import { zonedToLocal, localToZoned } from '/client/utils/timezones'; | |
import { hasTime, shiftDate, shiftHour } from '/client/utils/date'; | |
/** | |
* withTimeZone - HOC to add time zone support to react-big-calendar |
// -------------------------------------------------- | |
// Flexbox SASS mixins | |
// The spec: http://www.w3.org/TR/css3-flexbox | |
// -------------------------------------------------- | |
// Flexbox display | |
@mixin flexbox { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; |
A quick guide on how to setup Node.js development environment.
nvm allows installing several versions of Node.js to the same system. Sometimes applications require a certain versions of Node.js to work. Having the flexibility of using specific versions can help.
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent