Skip to content

Instantly share code, notes, and snippets.

View websterl3o's full-sized avatar

Leonardo Webster. R. Silva websterl3o

View GitHub Profile
@websterl3o
websterl3o / .zshrc
Last active February 12, 2021 13:14
Mudar php sem dor de cabeça
function clear_config_php() {
rm ~/.config/valet/valet.sock
valet restart
}
function mudaphp () {
valet use php@$2 --force
brew link php@$2 --force
zshreload
composer global update
Note: this assumes you are using ZSH shell.
## Installation
Install [asdf](https://github.com/asdf-vm/asdf):
```
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.4.0
$ echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc
$ echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
@websterl3o
websterl3o / cloudSettings
Last active February 23, 2021 19:03 — forked from leocomelli/git.md
Lista de comandos úteis do GIT
{"lastUpload":"2021-02-23T19:03:23.194Z","extensionVersion":"v3.4.3"}