Olá pra você que está chegando agora.
Meu objetivo com esse gist é compartilhar informações úteis sobre o mundo das criptomoedas conforme for aprendendo mais sobre elas.
# Select image from https://hub.docker.com/_/php/ | |
image: php:7.1 | |
before_script: | |
# Install project dependencies | |
- apt-get update | |
- apt-get install git libmcrypt-dev libxml2-dev libcurl4-gnutls-dev -yqq | |
- docker-php-ext-install -j$(nproc) curl mcrypt mbstring zip xml json | |
# Install composer |
Olá pra você que está chegando agora.
Meu objetivo com esse gist é compartilhar informações úteis sobre o mundo das criptomoedas conforme for aprendendo mais sobre elas.
apt-get update | |
apt-get upgrade -y | |
sudo apt-get install build-essential tcl -y | |
curl -O http://download.redis.io/redis-stable.tar.gz | |
tar xzvf redis-stable.tar.gz | |
cd redis-stable | |
make | |
sudo make install |
<?php | |
return PhpCsFixer\Config::create() | |
->setRiskyAllowed(true) | |
->setRules([ | |
'@PSR2' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => | |
[ | |
'align_equals' => true, |
{ | |
"type": "compact", | |
"dataSource": "dl_sbi_grp", | |
"interval": "2016-01-01/2019-07-01", | |
"tuningConfig" : { | |
"type" : "index", | |
"maxRowsInMemory": "200000", | |
"maxRowsPerSegment": "5000000", | |
"maxTotalRows": "20000000", | |
"forceExtendableShardSpecs" : true |
A_BASE=$HOME/.cache/gitlab-ci-pipeline-php | |
# define specific cache directories | |
A_CONFIG=$A_BASE/.config | |
A_CACHE=$A_BASE/.cache | |
A_LOCAL=$A_BASE/.local | |
A_SSH=$HOME/.ssh | |
A_COMPOSER=$A_BASE/.composer | |
A_YARN=$A_BASE/.yarn |