Skip to content

Instantly share code, notes, and snippets.

@arturlector
arturlector / solid.md
Last active November 16, 2020 22:54
Что такое SOLID принципы?

Что такое SOLID принципы?

S - Single responsibility principle - Принцип единственной обязанности:

На каждый класс должна быть возложена одна-единственная обязанность.

O - Open/closed principle - Принцип открытости/закрытости:

Программные сущности должны быть открыты для расширения, но закрыты для изменения.
@developius
developius / README.md
Last active April 25, 2024 22:15
Setup SSH keys for use with GitHub/GitLab/BitBucket etc

Create a new repository, or reuse an existing one.

Generate a new SSH key:

ssh-keygen -t rsa -C "your_email@example.com"

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings (https://github.com/settings/keys).

Test SSH key:

@bibendi
bibendi / gist:7941823
Created December 13, 2013 09:21
Оформление коммитов

Для оформления сообщения коммита следует использовать следующий шаблон:

<type>(<scope>): <subject>
<BLANK LINE>
<body>

Заголовок

Тип коммита