Skip to content

Instantly share code, notes, and snippets.

View Ensive's full-sized avatar
🍿

Anton Honcharuk Ensive

🍿
View GitHub Profile
@Ensive
Ensive / handling_multiple_github_accounts.md
Created August 4, 2023 04:39 — forked from Jonalogy/handling_multiple_github_accounts.md
Handling Multiple Github Accounts on MacOS

Handling Multiple Github Accounts on MacOS

The only way I've succeeded so far is to employ SSH.

Assuming you are new to this like me, first I'd like to share with you that your Mac has a SSH config file in a .ssh directory. The config file is where you draw relations of your SSH keys to each GitHub (or Bitbucket) account, and all your SSH keys generated are saved into .ssh directory by default. You can navigate to it by running cd ~/.ssh within your terminal, open the config file with any editor, and it should look something like this:

Host *
 AddKeysToAgent yes

> UseKeyChain yes

const contacts = [
{
label: 'Email',
link: 'mAIltO:hi@antonengineer.com',
value: '[email protected]'
},
{
label: 'WhatsApp',
link: '...',
value: '+380939766766',
.Services {
background-color: $light-bg;
padding: 80px 0;
@include for-tablet-portrait-up {
padding: 119px 0 120px;
}
}
.Services__list {
// TODO: implement very cool and stylish hover effect for Button
.Button {
display: inline-flex;
justify-content: center;
align-items: center;
background-color: $primary;
font-family: $font-demibold;
border: 0;
color: #000;
cursor: pointer;
{
"bracketSpacing": true,
"printWidth": 80,
"semi": true,
"tabWidth": 2,
"trailingComma": "all",
"singleQuote": true
}
<?php
declare(strict_types=1);
namespace Fndx\Application\UseCase\TradingAccount;
use Fndx\Domain\Money\Exception\InvalidCurrencyCodeException;
use Fndx\Domain\TradingAccount\AggregateRoot\TradingAccount;
use Fndx\Domain\TradingAccount\Exception\InvalidTradingAccountPlatformException;
use Fndx\Domain\TradingAccount\Exception\TradingAccountAlreadyExistsException;
<?php
declare(strict_types=1);
namespace Fndx\Application\UseCase\Lead;
use Exception;
use Fndx\Application\UseCase\AbstractCommand;
use Fndx\Domain\Department\Contract\DepartmentServiceInterface;
use Fndx\Domain\Identity\AggregateRoot\Identity;
@Ensive
Ensive / BuyTradingSchoolCourseCommand.php
Last active February 1, 2022 14:13
BuyTradingSchoolCourseCommand.php
<?php
declare(strict_types=1);
namespace Fndx\Application\UseCase\TradingSchoolCourse;
use Fndx\Application\UseCase\AbstractCommand;
use Fndx\Domain\Permission\AggregateRoot\Permission;
use Fndx\Infrastructure\Core\Exception\AccessNotAllowedException;
use Fndx\Domain\Permission\Contract\PermissionServiceInterface;
@Ensive
Ensive / ApproveFundingRequestCommand.php
Last active February 1, 2022 14:12
ApproveFundingRequestCommand.php
<?php
declare(strict_types=1);
namespace Fndx\Application\UseCase\FundingRequest;
use Fndx\Application\UseCase\AbstractCommand;
use Fndx\Domain\Identity\Exception\IdentityNotFoundException;
use Fndx\Domain\Money\Exception\AmountCannotBeZeroException;
use Fndx\Domain\Money\Exception\NotEnoughBalanceException;
@Ensive
Ensive / TopUpTradingAccountCommand.php
Last active February 1, 2022 14:13
TopUpTradingAccountCommand.php
<?php
declare(strict_types=1);
namespace Fndx\Application\UseCase\TradingAccount;
use Fndx\Domain\Client\Contract\ClientServiceInterface;
use Fndx\Domain\Client\Exception\ClientNotFoundException;
use Fndx\Domain\Identity\Exception\IdentityNotFoundException;
use Fndx\Domain\Permission\AggregateRoot\Permission;