This file contains 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 | |
/** | |
* Created by PhpStorm. | |
* User: marce | |
* Date: 16/05/2017 | |
* Time: 00:19 | |
*/ | |
namespace App\Traits; |
This file contains 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
const PLAYERS = [1, 2, 3, 4] | |
const TEAM_SIZE = 2; | |
function fatorial(n) { | |
if (n === 0) return 0; | |
if (n < 0) return NaN; | |
return n === 1 ? 1 : fatorial(n - 1) * n; | |
} |
This file contains 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
version: '3.7' | |
services: | |
traefik_v2.0: | |
image: 'traefik:2.2' | |
container_name: traefik_v2 | |
hostname: traefik_v2 | |
ports: | |
- '443:443' | |
- '80:80' | |
- '8080:8080' |
This file contains 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
version: "3.3" | |
services: | |
proxy: | |
extends: | |
file: proxy/docker-compose.yml | |
service: proxy | |
error-pages: | |
container_name: errorpages | |
image: tarampampam/error-pages:2.21.0 | |
environment: |
OlderNewer