- Скачать курс, все видео с 1 по n, где n — номер последнего урока, например в этом курсе 83 видео, то [1-83]
curl -LO https://vs1.coursehunters.net/webformyself-tbot/lesson[1-n].mp4
curl -LO https://vs1.coursehunters.net/webformyself-tbot/lesson[1-n].mp4
# https://gist.github.com/wzup/36b5159d8c580b827384 | |
# https://gist.github.com/VincentBrunet/e5cba6f5023561c3032d8942797ce2db | |
# https://superuser.com/questions/602872/how-do-i-modify-my-git-bash-profile-in-windows | |
# https://stackoverflow.com/questions/415403/whats-the-difference-between-bashrc-bash-profile-and-environment | |
# create a file C:\Users\[user]\.bashrc | |
# add this content | |
# add your onw aliases or changes these ones as you like | |
# to make a dot (.bashrs) file in windows, create a file ".bashrs." (without extention) and save. windows will save it as ".bashrc" | |
# restart terminal or sometimes you need to restart windows |
"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
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.
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
"import/first": [ "warn", "DISABLE-absolute-first" ], | |
"vue/html-self-closing": "off", | |
'vue/max-attributes-per-line': [2, | |
{ | |
'singleline': 1, | |
'multiline': { | |
'max': 1, | |
'allowFirstLine': true | |
} | |
} |
<!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":"Какое покрытие кода считается нормальным?"}]'; |
Пропустить теорию и перейти прямо к задачам
Ссылка на учебник: http://learn.javascript.ru
Сразу расскажу про несколько особенностей яваскрипта, о которых может быть не написано (или мало написано) в учебниках, но которые стоит понимать:
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/"; |