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
[user] | |
name = {name} | |
email = {username}@users.noreply.github.com | |
[color] | |
ui = true | |
[alias] | |
s = status | |
ll = log --oneline |
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
[ | |
{ | |
"key": "cmd+d", | |
"command": "editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" |
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
{ | |
"files.trimTrailingWhitespace": true, | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
"editor.minimap.enabled": false, | |
"editor.rulers": [ | |
{ | |
"column": 80, | |
"color": "#303030" | |
} |
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
const deepMerge = (obj1, obj2) => | |
Object.keys(obj1).reduce((acc, key) => { | |
if (obj1[key] instanceof Array) { | |
acc[key] = []; | |
obj1[key].forEach( | |
(_, i) => acc[key][i] = deepMerge(obj1[key][i], obj2[key][i]) | |
) | |
} else if (obj1[key] instanceof Object) { | |
acc[key] = deepMerge(obj1[key], obj2[key]); | |
} else { |
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
export CLICOLOR=1 | |
export LSCOLORS=dxfxcxdxbxegedAbAgacdx | |
export PATH="/usr/local/bin:$PATH" | |
cyan="$(tput setaf 6)"; | |
reset="$(tput sgr0)"; | |
PS1='\[$cyan\]> \W \$ \[$reset\]'; | |
if [ -f ~/.git-completion.bash ]; then | |
source ~/.git-completion.bash; |
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
syntax on | |
colorscheme desert | |
autocmd Filetype gitcommit set textwidth=72 | |
set colorcolumn=+1 | |
highlight ColorColumn ctermbg=233 ctermfg=white | |
set spell | |
highlight SpellBad ctermfg=196 ctermbg=0 | |
highlight SpellCap ctermbg=0 cterm=underline |
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 | |
/** | |
* @author Leandro Silva | Grafluxe, 2016 | |
*/ | |
/** | |
* Easily create PHP docs for your project using apigen (apigen.org). | |
* | |
* To keep things simple, apigen CLI options are automatically set. |