asdf plugin remove php
asdf plugin add php https://github.com/olavocneto/asdf-php.git
asdf install php latest
asdf global php 8.1.13
pecl install xdebug
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
#!/usr/bin/env bash | |
# https://sharats.me/posts/shell-script-best-practices/ | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
if [[ "${TRACE-0}" == "1" ]]; then | |
set -o xtrace | |
fi |
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
; Xdebug 2 | |
; Ubuntu | |
[xdebug] | |
zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so | |
xdebug.remote_enable=1 | |
xdebug.remote_autostart=1 | |
xdebug.remote_port=9000 | |
xdebug.remote_connect_back=true | |
; Windows WSL |
# Compiling PHP from source
# https://github.com/docker-library/php/blob/3dc9a6988d478fae0f0b8b871d10e611b50e3d0c/7.4/buster/cli/Dockerfile
# https://php.watch/articles/compile-php-ubuntu
sudo apt-get install make clang build-essential autoconf libtool bison re2c
# SQL Server for unixODBC development headers
sudo apt-get install unixodbc-dev
Multi versões do PHP
sudo NR_INSTALL_PATH=/path/to/.phpbrew/php/php-7.x.y/bin newrelic-install
https://devcenter.heroku.com/articles/custom-domains http://thenomadicfreelancer.blogspot.com/2012/08/pointing-godaddy-domain-to-your-heroku.html
For each custom subdomain use domains:add
in the Terminal.
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
# Connect meteor server mongo database | |
mongo 127.0.0.1:3001/meteor | |
# Connect local mongo database | |
mongo 127.0.0.1:27017/meteor | |
mongodump -h 127.0.0.1:3001 -d meteor -o dump/meteor/ | |
mongorestore -u client -h production-db-b1.meteor.io:27017 -d db_meteor_com -p 'xyz' dump/meteor/ |
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
Da série: Como eu instalei ... | |
Dependências | |
* sudo apt-get install unzip | |
* Install Java: https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get | |
wget http://cdn.sencha.com/cmd/5.0.1.231/SenchaCmd-5.0.1.231-linux-x64.run.zip | |
unzip SenchaCmd-5.0.1.231-linux-x64.run.zip |
NewerOlder