Install VSCode extensions:
- Beautify
- Docker
- Emmet JSS
- ESLint
- GitLens
- Git Patch
- JSS Snipets
- npm Intellisense
- Visutal Studio IntelliCode
Install VSCode extensions:
| <div class="loader"> | |
| <svg viewBox="0 0 32 32" width="32" height="32"> | |
| <circle id="spinner" cx="16" cy="16" r="14" fill="none"></circle> | |
| </svg> | |
| </div> | |
| <style> | |
| .loader { | |
| left: 50%; | |
| top: 50%; |
| docker rmi $(docker images -a -q) | |
| docker rm $(docker ps -a -f status=exited -q) | |
| docker volume rm $(docker volume ls -f dangling=true -q) |
| Что надо знать чтобы устроится на Middle JavaScript Developer: | |
| 1) JavaScrit (версия ES5) (20%) | |
| 2) jQuery (20%) | |
| 3) HTML5, CSS3 (10%) | |
| 4) Bootsrap, LESS, SASS (10%) | |
| 5) JS Build Systems (npm, bower, gulp, grunt) (10%) | |
| 6) git, gitHub (10%) | |
| 7) Design Patterns (5%) | |
| 8) Refactoring (5%) |
| <iframe id="nascar_frame" frameborder="0" height="5700" scrolling="no" src="http://chasehub.azurewebsites.net/"></iframe> | |
| <script type="text/javascript"> | |
| (function ($) { | |
| $(window).scroll(function() { | |
| var topPosition = $(window).scrollTop(); | |
| if($('#nascar_frame')) { | |
| $('#nascar_frame')[0].contentWindow.postMessage('nascar_' + topPosition, 'http://chasehub.azurewebsites.net/'); | |
| } | |
| }); |
| git log --pretty=format:"%h - %an, %ar : %s" | |
| alias glop="git log --pretty=format:'%C(yellow)%h|%Cred%ad|%Cblue%an|%Cgreen%d %Creset%s' --date=short | column -ts'|' | less -r" | |
| git log --since=2.days | |
| git log -p -2 | |
| git config --global core.editor "'C:\Program Files (x86)\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin" |
| console.log('Static and public methods:'); | |
| var Todo = can.Construct({ | |
| count: 0 | |
| }, { | |
| author: function () {return "Justin";} | |
| }); | |
| console.log(Todo.count); //static property (can use without object) | |
| //public method |
| <div id="n4p_13714">Loading...</div> | |
| <script type="text/javascript" charset="utf-8"> | |
| (function(d,s){ | |
| var o=d.createElement(s); | |
| o.async=true; | |
| o.type="text/javascript"; | |
| o.charset="utf-8"; | |
| if (location.protocol == "https:") { | |
| o.src="https://js-goods.redtram.com/ticker_13714.js"; | |
| } |
| VBoxManage modifyvm "VM" --natnet1 "192.168/16" | |
| Настройки Сети - Bridge Network - Advanced - Allow All |
| Глава 2. Основы: | |
| 1. Добавление функции в прототип любого объекта {code} | |
| 2. В parseInt() всегда использовать систему вычисления month = parseInt(month, 10); //09 нормально спарсится | |
| 3. Всегда в if() используй === | |
| 4. Всегда используй {}, даже где можно без них | |
| 5. function MyConstructor() {...} //функции-конструкторы должны начинатся с большой буквы | |
| 6. ВЕРХНИЙ регистр для переменных, которые не должны менятся (константы) | |