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
alias ga="git add ." | |
alias gc="git commit" | |
alias gcm="git commit -m" | |
alias gg="git add . && git commit -m" | |
alias gca="git commit --amend" | |
alias gco="git checkout" | |
alias gp="git push" | |
alias gpo="git push origin" | |
alias yeet="git push origin" | |
alias gplo="git pull origin" |
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
mkdir -p $HOME/Library/KeyBindings | |
echo '{ | |
/* Remap Home / End keys to be correct */ | |
"\UF729" = "moveToBeginningOfLine:"; /* Home */ | |
"\UF72B" = "moveToEndOfLine:"; /* End */ | |
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */ | |
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */ | |
"^\UF729" = "moveToBeginningOfDocument:"; /* Ctrl + Home */ | |
"^\UF72B" = "moveToEndOfDocument:"; /* Ctrl + End */ | |
"$^\UF729" = "moveToBeginningOfDocumentAndModifySelection:"; /* Shift + Ctrl + Home */ |
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
/** | |
* Integration test helper | |
* Author: Andrés Zorro <[email protected]> | |
*/ | |
const { existsSync } = require('fs'); | |
const { constants } = require('os'); | |
const spawn = require('cross-spawn'); | |
const concat = require('concat-stream'); | |
const PATH = process.env.PATH; |
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
{ | |
"scripts": { | |
"test": "nyc mocha --recursive test", | |
"test-debug": "nodemon -L --ext js --inspect-brk=0.0.0.0:9229 --exec 'mocha -t 0 --recursive test'", | |
"test-watch": "nodemon -L --ext js --exec 'nyc --reporter=text-summary mocha --reporter min --recursive test'" | |
}, | |
"nyc": { | |
"check-coverage": true, | |
"per-file": false, | |
"lines": 95, |
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
# Persist default (id_rsa) ssh key in a service that will serve this key when asked for any ssh key | |
eval `ssh-agent` | |
ssh-add | |
# Persist a specific ssh key in a service that will serve this key when asked for any ssh key | |
# eval `ssh-agent` | |
# ssh-add site_rsa | |
# Allow npp to edit anything from git bash using npp <filename> | |
alias npp="/c/Program\ Files/Notepad++/notepad++.exe" |
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
alias npp="/c/Program\ Files\ \(x86\)/Notepad++/notepad++.exe -multiInst" |
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
# Configuration | |
## On All | |
git config --global user.email "[email protected]" | |
git config --global user.name "Your Name" | |
git config --global push.default current | |
git config --global core.commentchar "*" # optional | |
git config --global core.safecrlf false | |
git config --global core.excludesfile ~/.gitignore | |
git config --global push.autoSetupRemote true |