docker-compose up -d
docker ps
dc ps
dc kill
docker kill
docker kill $(docker ps -a) a verifier
code ./ gss git status gco git checkout
creation markdown .md + visualisation
personaliser raccourci
ctrl shift + p
ctrl + R : lister repo
git rebase -i <numero commit precedant celui sur lequel on veux squash>
git cherry-pick <numero commit a cherry pick>
voir la methode de Chris
npm run publish@latest
https://lodash.com/
npx lerna clean
gksu gparted
import React from 'react'; import PropTypes from 'prop-types'; import SlidesPlayer from './slides/slides-player'; import Header from './player-header'; import style from './style.css'; import IsIE from '../../../hoc/isie';
const SlidePlayer = props => {
const {header, player} = props;
const backgroundImage = player.backgroundUrl ? url(${player.backgroundUrl})
: null;
// const isIE11 = !!window.MSInputMethodContext && !!document.documentMode;
const customMarginIE = {marginTop: 0};
return (
}
SlidePlayer.propTypes = { header: PropTypes.shape(Header.propTypes), player: PropTypes.shape(SlidesPlayer.propTypes), IsIE: PropTypes.bool };
export default SlidePlayer; class IsIE extends React.Component { state = {isIE: false};
componentDidMount() { const isIE = detectIe(); this.setState(() => ({ isIE })); }
render() { const {children} = this.props; const {isIE} = this.state;
return children(isIE);
} }
export default IsIE;
git clean -xdf