I hereby claim:
- I am inigomarquinez on github.
- I am inigomarquinez (https://keybase.io/inigomarquinez) on keybase.
- I have a public key whose fingerprint is B657 731C 05C3 4BA0 CFBE E740 D3D5 AB75 88DB 34FD
To claim this, I am signing this object:
{ | |
"version": "0.2.0", | |
"configurations": [ | |
// Configuration used to debug the application (default configuration created by Visual Studio Code ) | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Program", | |
"skipFiles": [ | |
"<node_internals>/**" |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
// Configuration used to debug the application (default configuration created by Visual Studio Code ) | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Program", | |
"skipFiles": [ | |
"<node_internals>/**" |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
// Configuration used to debug the application (default configuration created by Visual Studio Code ) | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Launch Chrome against localhost", | |
"url": "http://localhost:3000", | |
"webRoot": "${workspaceFolder}" |
I hereby claim:
To claim this, I am signing this object:
#! /bin/bash | |
CWD=$(pwd) | |
echo -e "Are you sure you want to remove all your node_modules folders recursively from here? (Press CTRL+C to cancel)" | |
echo -e "Current location: \e[32m$CWD\e[39m" | |
echo -n "Only 'yes' will be accepted to continue: " | |
read NEW_VALUE | |
if [ "$NEW_VALUE" = "yes" ]; then |
#! /bin/bash | |
help(){ | |
echo -e 'Usage: dracarys-git-local-branches <main-branch>\n' | |
echo -e '\tRemove all local branches except main branch.' | |
echo -e '\tMain branch should be master or main, depending on your project' | |
exit 1 | |
} | |
MAIN_BRANCH="$1" |
$$('relative-time').forEach(relative => { | |
relative.shadowRoot.textContent = `${relative.textContent} (${relative.getAttribute('title')})`; | |
relative.textContent = `${relative.textContent} (${relative.getAttribute('title')})`; | |
}); |
git remote add <remote-alias> <remote-url> | |
git pull <remote-alias> <remote-branch> | |
# Example | |
➜ expressjs-expressjs.com git:(gh-pages) git remote -v | |
origin git@github.com:inigomarquinez/expressjs-expressjs.com.git (fetch) | |
origin git@github.com:inigomarquinez/expressjs-expressjs.com.git (push) | |
➜ expressjs-expressjs.com git:(gh-pages) git remote add ulises git@github.com:ulisesgascon/expressjs.com.git | |
➜ expressjs-expressjs.com git:(gh-pages) git remote -v |
# List the secret keys available in GPG. | |
gpg --list-secret-keys --keyid-format=long | |
# Copy your key | |
# Set your key for your user in git | |
git config --global user.signingkey <your key> |