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
FROM php:fpm | |
MAINTAINER CakeHub <[email protected]> | |
RUN requirements="libmcrypt-dev g++ libicu-dev libpq-dev libmcrypt4 libicu52 netcat" \ | |
&& apt-get update && apt-get install -y $requirements \ | |
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ | |
&& docker-php-ext-install pdo pdo_pgsql \ | |
&& docker-php-ext-install mcrypt \ | |
&& docker-php-ext-install mbstring \ | |
&& docker-php-ext-install intl \ |
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
image: latex-full:latest | |
variables: | |
GIT_SSL_NO_VERIFY: "true" | |
cache: | |
paths: | |
- vendor | |
pages: |
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 | |
class Converter { | |
public function convert ($number = null) { | |
$codeset = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
$base = strlen($codeset); | |
$n = $number; | |
$converted = ""; |
NewerOlder