BEM - Block, Element, Modifier
1. Block
----------------------------------------------
Eg: menu
<ul class="menu"></ul>
- Elements
1. Block
----------------------------------------------
Eg: menu
<ul class="menu"></ul>
// install | |
// npm i gulp-cache gulp-imagemin imagemin-pngquant imagemin-zopfli imagemin-mozjpeg imagemin-giflossy -f | |
// node node_modules/jpegtran-bin/lib/install.js | |
// node node_modules/gifsicle/lib/install.js | |
// node node_modules/zopflipng-bin/lib/install.js | |
// node node_modules/mozjpeg/lib/install.js | |
// node node_modules/giflossy/lib/install.js | |
// node node_modules/pngquant-bin/lib/install.js |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't overwrite GNU Midnight Commander's setting of 'ignorespace'. | |
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups | |
# ... or force ignoredups and ignorespace | |
export HISTCONTROL=ignoreboth |
create a clean git repo in this directory: | |
$ git init | |
clone a local/remote git repo (adds the repo referred by branch as a remote named "origin"): | |
$ git clone <path> | |
show current branch and changed/new files: | |
$ git status | |
show previous commits of the current branch: | |
$ git log | |
add changes / new files to the index (single files, "." for the whole dir including subdirs): |