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
| class Point | |
| constructor: (@x = 0, @y = 0) -> | |
| if isNaN(@x) or isNaN(@y) | |
| throw new Error('Invalid coords') | |
| add: (point) -> | |
| @x += point.x | |
| @y += point.y | |
| subtract: (point) -> |
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
| Verifying that +thierryplesnar is my blockchain ID. https://onename.com/thierryplesnar |
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
| <?php | |
| declare(strict_types=1); | |
| use PhpCsFixer\Config; | |
| use PhpCsFixer\Finder; | |
| $rules = [ | |
| '@PHP74Migration' => true, | |
| '@PHP74Migration:risky' => true, |
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
| <?php | |
| namespace App\Throttler; | |
| use Illuminate\Cache\RateLimiter; | |
| class Throttler | |
| { | |
| /** | |
| * Target to rate limit. |
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
| /* | |
| Strings.strings | |
| PHP Monitor | |
| Created by Nico Verbruggen on 16/05/2020. | |
| Copyright © 2023 Nico Verbruggen. All rights reserved. | |
| */ | |
| // MENU ITEMS (MI) |