This file contains hidden or 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
# .bashrc | |
# User specific aliases and functions | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then |
This file contains hidden or 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
npx -p @angular/cli ng new hello-world-project | |
then locally can run | |
npx ng g c hello-world-component | |
This file contains hidden or 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
{ | |
"window.zoomLevel": 1, | |
"editor.fontLigatures": true, | |
"editor.renderWhitespace": "boundary", | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": "keyword.operator", | |
"settings": { | |
"foreground": "#89DDFF" |
This file contains hidden or 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
{ | |
"files.exclude": { | |
"**/.git": true, | |
"**/*.js": { | |
"when": "$(basename).ts" | |
}, | |
"**/*.js.map": { | |
"when": "$(basename)" | |
}, | |
"**/*.css": { |
This file contains hidden or 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
browser-sync start --server --files "*.html, css/*.css" --no-notify |
This file contains hidden or 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
// TODO автозагрузка плагинов http://getinstance.info/articles/tools/include-plugins-with-gulp-load-plugins/ | |
var gulp = require('gulp'), // Подключаем Gulp | |
gulpif = require('gulp-if'), // Библиотека if для gulp | |
sass = require('gulp-sass'), //Подключаем Sass пакет, | |
autoprefixer = require('gulp-autoprefixer'), // Библиотека для автоматического добавления префиксов | |
cssnano = require('gulp-cssnano'), // Подключаем пакет для минификации CSS | |
rename = require('gulp-rename'), // Подключаем библиотеку для переименования файлов | |
uglify = require('gulp-uglifyjs'), // Подключаем gulp-uglifyjs (для сжатия JS) | |
// imagemin = require('gulp-imagemin'), // Подключаем библиотеку для работы с изображениями | |
htmlmin = require('gulp-htmlmin'), // Библиотека минификации html |
This file contains hidden or 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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"build_on_save": 0, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"fallback_encoding": "Cyrillic (Windows 1251)", | |
"filename_filter": ".(sass|scss)$", | |
"binary_file_patterns": | |
[ | |
"node_modules/" |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |