Skip to content

Instantly share code, notes, and snippets.

View erickpatrick's full-sized avatar
🎯
Focusing

Erick Patrick erickpatrick

🎯
Focusing
View GitHub Profile
@erickpatrick
erickpatrick / sublime.text.plugins.txt
Last active October 11, 2016 14:44
sublime text plugins
- [ ] ayu
- [ ] BracketHighlighter
- [ ] DocBlockr
- [ ] EditorConfig
- [ ] Emmet
- [ ] Emmet Css Snippets
- [ ] GitGutter
- [ ] Grunt
- [ ] Gulp
- [ ] Laravel Blade Highlighter
@erickpatrick
erickpatrick / git-related-tutorials.md
Last active March 9, 2017 20:11
# Git related tutorials
@erickpatrick
erickpatrick / keybase.md
Created April 13, 2017 18:40
keybase.md

Keybase proof

I hereby claim:

  • I am erickpatrick on github.
  • I am erickpatrick (https://keybase.io/erickpatrick) on keybase.
  • I have a public key ASDyM7_SKpj9fQnIwKzu5EbO0UsM0udDThmNxEWrkbJpbwo

To claim this, I am signing this object:

# SSH-KEY
function sshkey {
ssh-keygen -t rsa -b 4096 -C $1
}
# GIT
alias globalgitconfig="git config --global core.excludesfile ~/.gitignore_global"
function addGitUser {
git config --global user.name "Erick Patrick"
git config --global user.email contato@erickpatrick.net
export ZSH=/home/vagrant/.oh-my-zsh
ZSH_THEME="powerlevel9k/powerlevel9k"
export UPDATE_ZSH_DAYS=13
plugins=(git php composer ruby python git-flow node npm ubuntu svn sudo symfony2)
source $ZSH/oh-my-zsh.sh
export LANG=en_US.UTF-8
export EDITOR='vim'
export SSH_KEY_PATH="~/.ssh/rsa_id"
@erickpatrick
erickpatrick / xdebug-homestead-config.txt
Created January 17, 2018 15:12
Configuration for xDebug with Homestead
zend_extension=xdebug.so
xdebug.remote_autostart=1
xdebug.remote_host=10.0.2.2 // same as the one showed when vagrant ssh "last log in from"
xdebug.remote_enable = 1
xdebug.remote_log=/home/vagrant/output.txt
xdebug.remote_handler=dbgp
xdebug.collect_params=1
xdebug.show_local_vars=1
xdebug.remote_port = 9000
xdebug.max_nesting_level = 512
@erickpatrick
erickpatrick / undo-saved-stories.js
Created July 11, 2018 14:42
Unsave all saved medium publications I have
let savedPosts = document.querySelectorAll('[data-action=remove-from-queue]')
savedPosts.forEach(button => button.click())
@erickpatrick
erickpatrick / fzf-colored-preview.md
Created November 10, 2018 00:36
When working with FZF use Rouge gem to have coloured output of preview pane
@erickpatrick
erickpatrick / .zshrc
Created November 10, 2018 00:57
my ZSHCONFIG
export PATH=/usr/local/bin:$PATH
# If you come from bash you might have to change your $PATH.
export ZSH="/Users/<user>/.oh-my-zsh"
ZSH_THEME="agnoster"
export UPDATE_ZSH_DAYS=7
plugins=(
git
)