.env
...
+ PROXY_AUTH_KEY=Bj5pnZEX6DkcG6Nz6AjDUT1bvcGRVhRaXDuKDX9CjsEs2| <?php | |
| namespace App\Modules\OneTwos\Auth; | |
| use Illuminate\Auth\SessionGuard; | |
| class OneTwoGuard extends SessionGuard | |
| { | |
| // ... | |
| } |
| { | |
| "files.exclude": { | |
| "**/node_modules": true | |
| }, | |
| "debug.console.fontFamily": "JetBrains Mono", | |
| "debug.console.fontSize": 14, | |
| "debug.console.lineHeight": 25, | |
| "debug.toolBarLocation": "docked", | |
| "editor.codeLens": true, | |
| "editor.fontFamily": "'JetBrains Mono', 'Fira Code', 'Consolas','monospace'", |
| const withdrawMachine = Machine( | |
| { | |
| id: 'withdraw', | |
| initial: 'created', | |
| context: { | |
| signatures: 0, | |
| corum: 3 | |
| }, | |
| states: { | |
| created: { |
| <?php | |
| // https://phpsandbox.io/n/steep-union-wnew-ndjxv | |
| function xml_get( | |
| SimpleXMLElement|string $xml, | |
| string $path, | |
| mixed $default = null | |
| ): mixed | |
| { |
| <?php | |
| use Spatie\DataTransferObject\DataTransferObject; | |
| class Customer extends DataTransferObject | |
| { | |
| /** @var int|string $id */ | |
| public $id; | |
| public string $alias; | |
| public string $name; |
| <?php | |
| function saveToEnvFile(string $dotEnv, string $pattern, string $label, ?string $value): bool | |
| { | |
| $readFrom = fopen($dotEnv, 'r'); | |
| $writeTo = tmpfile(); | |
| $isDirty = false; | |
| while (!feof($readFrom)) { | |
| $line = fgets($readFrom); |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
namespace Symfony\Component\Console\Input;
use Symfony\Component\Console\Exception\RuntimeException;
class ArgvInput extends Input
{
protected function parse()
{