- Ctrl + TAB – переключение вкладок;
- Alt + колесико – увеличение/уменьшение масштаба (инструмент «Масштаб»);
- Зажатый пробел – перетаскивание (инструмент «Рука»);
- Ctrl + S – сохранить;
- Ctrl + Z – отмена;
- Ctrl + Alt + Z – шаг назад (многократный);
- Ctrl + Shift + Z – шаг вперед (многократный);
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const initialState = { | |
byId: ['1', '2', '3'], | |
byHash: { | |
'1': {id: '1', content: {title: 'item 1'}}, | |
'2': {id: '2', content: {title: 'item 2'}}, | |
'3': {id: '3', content: {title: 'item 3'}} | |
} | |
} | |
const action1 = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
const webpack = require('webpack'); | |
const { createBundleRenderer } = require('vue-server-renderer'); | |
const clientConfig = require('./build/webpack.client.config'); | |
const serverConfig = require('./build/webpack.server.config'); | |
const clientCompiler = webpack(clientConfig); | |
const serverCompiler = webpack(serverConfig); | |
const app = require('express')(); |
Some reference notes of the most common used commands.
Contents:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Writing JS for everything is great and all, but I don't want to see JS | |
// inline in my Jade templates. Thankfully, there are ways of abstrating it | |
// into mixins! | |
// Want some Rails-like helpers? | |
mixin link_to(name, href) | |
- href = href || "#" | |
a(href="#{href}")= name | |
// How about a single editing point for a class name? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Font Smoothie copyright 2013,14,15 Torben Haase <http://pixelsvsbytes.com> | |
// Source-URL <https://gist.github.com/letorbi/5177771> | |
// | |
// Font Smoothie is free software: you can redistribute it and/or modify it under | |
// the terms of the GNU Lesser General Public License as published by the Free | |
// Software Foundation, either version 3 of the License, or (at your option) any | |
// later version. | |
// | |
// Font Smoothie is distributed in the hope that it will be useful, but WITHOUT | |
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
OlderNewer