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
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 |
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
{ | |
"type": "compact", | |
"dataSource": "dl_sbi_grp", | |
"interval": "2016-01-01/2019-07-01", | |
"tuningConfig" : { | |
"type" : "index", | |
"maxRowsInMemory": "200000", | |
"maxRowsPerSegment": "5000000", | |
"maxTotalRows": "20000000", | |
"forceExtendableShardSpecs" : true |
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 | |
return PhpCsFixer\Config::create() | |
->setRiskyAllowed(true) | |
->setRules([ | |
'@PSR2' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => | |
[ | |
'align_equals' => true, |
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
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 |
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.
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
# 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 |