a
-> create new artboard<select element>
,a
,New from selection
-> convert element to artboardCmd + 3
-> move center to selected artboard
Cmd + r
-> rename element, artboard
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title></title> | |
</head> | |
<body> | |
</body> | |
</html> |
If you're using Z Shell and a special prompt theme designed with Powerline fonts in mind, you'll need to install them on your machine. These are the most clear and cut-down instructions that I've found to work with Ubuntu 16.10 and all credit goes to renshuki's Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist. I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).
cd ~
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
pragma solidity ^0.4.8; | |
contract StupidContract { | |
mapping(address => uint) whitelist; | |
function Htkn() public { | |
} | |
// no lens | |
// read | |
const currentRoute = state.routing.current | |
// write | |
state.routing.current = route | |
// with lens | |
// create lens using Ramdajs | |
const currentRouteLens = R.lensPath(['routing', 'current']) | |
// read |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>My Application</title> | |
</head> | |
<body> | |
<!-- page content --> | |
</body> | |
</html> |
var webpack = require('webpack'); | |
var path = require('path'); | |
var config = { | |
entry: { | |
hello: path.join(__dirname, 'src', 'hello.js'), | |
}, | |
module: { | |
loaders: [ | |
{ |
To use this hook:
prepare-commit-msg
file at .git/hooks/prepare-commit-msg
and edit as neededchmod +x .git/hooks/prepare-commit-msg
git config branch.master.mergeoptions "--no-ff"
NOTE: after a failed merge from a forbidden branch, the working tree will still be in a MERGING state. To discard the local working copy state, run:
git reset --merge
var webpack = require('webpack'); | |
var Html = require('html-webpack-plugin'); | |
var merge = require('webpack-merge'); | |
var validate = require('webpack-validator'); | |
var path = require('path'); | |
var PATHS = { | |
src: path.join(__dirname, 'src'), | |
dist: path.join(__dirname, 'dist'), |
var webpack = require('webpack'); | |
var CommonsChunkPlugin = webpack.optimize.CommonsChunkPlugin; | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
exports.devServer = function(options) { | |
return { | |
devServer: { | |
historyApiFallback: true, | |
inline: true, | |
stats: 'errors-only', |