This file contains hidden or 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
| # Por defecto, npm instala en una ruta (habitualmente /usr) todos los comandos CLI de NPM instalados con "npm install -g" | |
| # Con el siguiente comando, puedes ver donde está guardando NPM en tu sistema: | |
| > npm config get prefix | |
| # Si te aparece /usr, vamos a cambiarlo por ~/.npm-global ( /home/TUUSUARIO/.npm-global ) para evitar problemas de permisos | |
| # PASOS PARA SOLUCIONAR EL PROBLEMA | |
| # PASO 1: Creamos nueva carpeta donde guardaremos toda la información global de NPM | |
| mkdir ~/.npm-global |
This file contains hidden or 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
| #!/bin/bash | |
| # Colors | |
| BLUE=$(printf '\033[34m') | |
| YELLOW=$(printf '\033[33m') | |
| PINK=$(printf '\033[35m') | |
| CYAN=$(printf '\033[36m') | |
| GREEN=$(printf '\033[32m') | |
| RED=$(printf '\033[31m') | |
| RESET=$(printf '\033[m') |
This file contains hidden or 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
| #!/bin/bash | |
| # Script for prepare Ubuntu/Debian distro | |
| # 2019 - Manz (terminaldelinux.com) | |
| # | |
| # Prerequisites: | |
| # - curl sudo bash installed | |
| # - script executed as non-root (but sudo permissions) | |
| # | |
| # --gui Install GUI software |
This file contains hidden or 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 DISPLAY=:0 | |
| # Copy/Paste | |
| alias pbcopy='xsel --clipboard --input' | |
| alias pbpaste='xsel --clipboard --output' | |
| # Top Commands | |
| alias topcommands='history | tr -s " " | cut -d" " -f3 | sort | uniq -c | sort -n | tail -20' | |
| # Javascript |
This file contains hidden or 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
| { | |
| "extends": "stylelint-config-standard", | |
| "rules": { | |
| "indentation": 4, | |
| "string-quotes": "single", | |
| "no-duplicate-selectors": true, | |
| "color-hex-case": "lower", | |
| "color-hex-length": "short", | |
| "selector-combinator-space-after": "always", | |
| "selector-attribute-quotes": "always", |
This file contains hidden or 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
| { | |
| /* Terminal WSL */ | |
| "terminal.integrated.fontFamily": "'VictorMono Nerd Font', 'Victor Mono', 'Inconsolata for Powerline', 'Envy Code R', Consolas, Monospace", | |
| "terminal.integrated.copyOnSelection": true, | |
| "terminal.integrated.gpuAcceleration": "on", | |
| "terminal.integrated.letterSpacing": 0, | |
| "terminal.integrated.cursorBlinking": true, | |
| "terminal.integrated.cursorStyle": "block", | |
| "terminal.integrated.fontWeight": "400", | |
| "terminal.integrated.fontWeightBold": "600", |
This file contains hidden or 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
| { | |
| "title": "¡Hola!", | |
| "text": "Esto es un ejemplo" | |
| } |
This file contains hidden or 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
| @import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,800'); | |
| body { | |
| background: #e0bef6; | |
| margin: 0; | |
| font-family: Montserrat, sans-serif; | |
| font-size: 16px; | |
| } | |
| /* HEADER */ |
This file contains hidden or 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
| # apt-get install zsh zgen | |
| # load zgen | |
| source /usr/share/zgen/zgen.zsh | |
| zgen load zdharma/fast-syntax-highlighting # fast-theme zdharma | |
| #zgen load zsh-users/zsh-syntax-highlighting | |
| zgen load zsh-users/zsh-autosuggestions | |
| zgen load zsh-users/zsh-completions | |
| zgen load zsh-users/zsh-history-substring-search | |
| zgen load zsh-users/zaw |