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
| указать git хранить ваши данные (логин и пароль) постоянно: | |
| git config credential.helper store | |
| При этом ваши данные будут храниться в открытом виде в файле .git-credentials. | |
| Обнулить настройки этой возможности можно командой: | |
| git config --unset credential.helper |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <input type="text" value="0" id="out"> | |
| <input type="button" value="click me" onclick="myFunction()"> |
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
| 1. Входим в систему с правами администратора | |
| 2. Открываем "Терминал" и создаем файл-скрипт: | |
| sudo nano /Library/Scripts/mute-on.sh | |
| 3. Вводим содержимое в данный файл: | |
| #!/bin/bash | |
| osascript -e 'set volume with output muted' |
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
| cd /c/Users/you-username | |
| notepad .gitconfig | |
| and change this | |
| [user] | |
| name = username | |
| email = [email protected] |
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
| Чтобы в Mozilla Firefox убрать надпись «YouTube теперь находится в полноэкранном режиме» нужно: | |
| 1. В адресную строку браузера наберите «about:config»; | |
| 2. В строку поиска наберите full-screen-api.warning.timeout; | |
| 3. Кликните по нему два раза левой кнопкой мыши, значение «3000» сменить на «0». |
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
| Database -> Oracle Database Express Edition 11g Release 2 | |
| http://www.oracle.com/technetwork/ru/database/express-edition/overview/index.html | |
| Destination Folder: C:\oraclexe\ | |
| Oracle Home: C:\oraclexe\app\oracle\product\11.2.0\server\ | |
| Oracle Base:C:\oraclexe\ | |
| Port for 'Oracle Database Listener': 1521 | |
| Port for 'Oracle Services for Microsoft Transaction Server': 2030 | |
| Port for 'Oracle HTTP Listener': 8080 |
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
| git rm -r --cached . | |
| git add . | |
| git commit -m 'Removed all files that are in the .gitignore' | |
| git push origin master |
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
|  | |
|  | |
| {username} — ваш ник на ГитХабе; | |
| {repository} — репозиторий где хранятся картинки; | |
| {branch} — ветка репозитория; | |
| {path} — путь к месту нахождения картинки. |
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
| 1. Создаем репозиторий на гитхабе отмечаем создать файл Readme.md | |
| в ридми пишем описание нашего проекта можно юзать маркдаун | |
| 2. Создаем локальную папку с именем репозитория | |
| 3. Клонируем репозиторий на локальный компютер указывая созданую папку проекта | |
| 4. В эту папку кладем файл .gitignore или его автоматом создает среда разработки | |
| 5. В среде разработки создаем проект | |
| 6. Указываем только что созданную папку где уже склонирован репозиторий | |
| 7. Делаем первый коммит с коментарием Initial commit | |
| 8. Когда начинаем работать над новой фичей создаем отдельную ветку и переходим в нее | |
| в ветке мастер всегда должен быть работоспособный код |
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
| 1. Соблюдаем Code style | |
| 2. Используем только значимые имена переменных, функций и классов | |
| 3. Следим за орфографией! Это ОООЧЕНЬ ВАЖНО! | |
| 4. Метод выполняет только одно логическое действие. | |
| 6. Всегда проверяем в методах входные параметры на валидность | |
| 7. Думаем о том чтобы пользователю было удобно и понятно | |
| как пользоваться программой без руководств пользователя | |
| 8. Программа не должна падать никогда, | |
| обрабатывайте все ошибки пользователя | |
| 9. DRY (don't repeat yurself) один и тот же код не должен повторятся выносим все в методы |