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
# the different stages of this Dockerfile are meant to be built into separate images | |
# https://docs.docker.com/compose/compose-file/#target | |
ARG PHP_VERSION=7.2 | |
ARG NODE_VERSION=10 | |
ARG NGINX_VERSION=1.15 | |
FROM php:${PHP_VERSION}-fpm-alpine AS sylius_php | |
# persistent / runtime deps |
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
OmniAuth with GitHub acount | |
https://api.github.com/users/:user | |
https://api.github.com/users/:user/repos | |
https://api.github.com/repos/:user/:repo/git/refs |
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 | |
class CesarCipher | |
{ | |
private $alphabet; | |
private $shift; | |
/** | |
* @param string $alphabet | |
*/ |