Пропустить теорию и перейти прямо к задачам
Ссылка на учебник: http://learn.javascript.ru
Сразу расскажу про несколько особенностей яваскрипта, о которых может быть не написано (или мало написано) в учебниках, но которые стоит понимать:
{ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"fallback_encoding": "Cyrillic (Windows 1251)", | |
"font_options": | |
[ | |
"no_italic", | |
"directwrite" | |
], | |
"font_size": 9, | |
"ignored_packages": |
/** | |
* Create a web friendly URL slug from a string. | |
* | |
* Requires XRegExp (http://xregexp.com) with unicode add-ons for UTF-8 support. | |
* | |
* Although supported, transliteration is discouraged because | |
* 1) most web browsers support UTF-8 characters in URLs | |
* 2) transliteration causes a loss of information | |
* | |
* @author Sean Murphy <[email protected]> |
var fs = require('fs'), | |
stub = require('./stub'), | |
_ = require('underscore'), | |
request = require('request'); | |
// config for local file | |
var basePath = "images/", | |
data = stub.data, | |
urlRoot = "http://cdn.catalogs.com/"; |
Пропустить теорию и перейти прямо к задачам
Ссылка на учебник: http://learn.javascript.ru
Сразу расскажу про несколько особенностей яваскрипта, о которых может быть не написано (или мало написано) в учебниках, но которые стоит понимать:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Test generator</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | |
<script async> | |
const data = '[{"answers":[{"correct":true,"title":"Модульный тест"},{"title":"UI-тест"},{"title":"Системный тест"},{"title":"Нагрузочный тест"}],"question_id":"123","title":"Каким типом тестов покрывается бизнес-логика?"},{"answers":[{"title":"100%"},{"correct":true,"title":"Зависит от требований к надежности"},{"title":"80%"},{"title":"50%"}],"question_id":"124","title":"Какое покрытие кода считается нормальным?"}]'; |
"import/first": [ "warn", "DISABLE-absolute-first" ], | |
"vue/html-self-closing": "off", | |
'vue/max-attributes-per-line': [2, | |
{ | |
'singleline': 1, | |
'multiline': { | |
'max': 1, | |
'allowFirstLine': true | |
} | |
} |
https://code.visualstudio.com/docs/editor/extension-gallery#_command-line-extension-management
code --extensions-dir <dir>
Set the root path for extensions.
code --list-extensions
List the installed extensions.
code --show-versions
You can run either of the following snippets in your terminal to generate a markdown list of your VS Code extensions.
code --list-extensions | awk '{ print "* [" $1 "](https://marketplace.visualstudio.com/items\?itemName\=" $1 ")" }'
npx https://gist.github.com/elijahmanor/7f9762a4c2296839ad33e33513e88043
NOTE: You can append | pbcopy
to either of the above commands to pipe the output to your Mac's copy/paste buffer.
"c:/mongo"
directory"c:/mongo/db"
directory or default directory c:/data/db
./mongod.exe --dbpath "c:/mongo/db"
or just mongod --dbpath "c:/mongo/db"
./mongo.exe
or just mongo