Skip to content

Instantly share code, notes, and snippets.

View amandiobm's full-sized avatar

Amandio Magalhães amandiobm

View GitHub Profile
@amandiobm
amandiobm / xdebug-mac.md
Created January 10, 2019 23:40 — forked from ankurk91/xdebug-mac.md
php xDebug on Ubuntu/Mac and phpStorm 2018

🪲 Install and Configure xDebug on MacOS for PhpStorm 🐘

⚠️ This guide only applies to Homebrew v1.6+

  • Check your version brew --version before proceeding

  • Assuming that you have already installed php and apache via Homebrew v1.6+

  • Install xDebug php extension

pecl channel-update pecl.php.net
pecl clear-cache
@amandiobm
amandiobm / .gitconfig
Last active February 23, 2021 10:30
Git ignore globals
[core]
autocrlf = input
editor = vim
excludesfile = ~/.gitignore
[user]
email = {{[email protected]}}
name = {{Your Name}}
[color]
ui = auto
[alias]
@amandiobm
amandiobm / generate-ssh-key.sh
Created August 23, 2018 05:36 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa