- Abrir el menú del explorador de archivos y alternar foco entre el explorador y el archivo en el que estábamos
- Con las teclas
↑
↓
navegamos hacia arriba y hacia abajo entre el árbol de archivos y carpetas - Con las teclas
←
→
entramos y salimos de los directorios. - Con la tecla
espacio
abrimos un archivo.
- Con las teclas
| Mac | Windows |
Para generar el archivo extensions.json
con las extensiones que tienes instaladas en Visual Studio Code
, necesitas ejecutar los siguientes pasos:
Abre una Terminal y ejecuta el siguiente comando, para crear el archivo extensions.txt
en la ubicación actual de la Terminal:
code --list-extensions > extensions.txt
- $
sudo cp -rp firefox-105.0b6.tar.bz2 /opt
[sudo] password for [user]: ****** - $
sudo rm -rf firefox-105.0b6.tar.bz2
- $
cd /opt
- /opt $
sudo tar xjf firefox-105.0b6.tar.bz2
- /opt $
sudo rm -rf firefox-105.0b6.tar.bz2
- /opt $
sudo chown -R $USER /opt/firefox
- /opt $
nano ~/.bashrc
- Pegar en la ultima línea y guardar:
export PATH=/opt/firefox/firefox:$PATH
- /opt $ `cat > ~/.local/share/applications/firefoxDeveloperEdition.desktop <
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
module.exports = { | |
root: true, | |
env: { | |
browser: true, | |
node: true, | |
}, | |
parserOptions: { | |
parser: '@babel/eslint-parser', | |
requireConfigFile: false, | |
}, |
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
FOLDERS & FILES | |
--------------------------- | |
-> Entrar dentro de un directorio | |
cd <nameFolder> | |
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
/** | |
* @function svgMe | |
* @description Version with Vanilla Javascript ES5 | |
* Converts an `<img>` tag, with a `.svg` extention and a class `svgMe`, into a `<svg>` tag. | |
* @return {object} Return the file svg | |
*/ | |
function svgMe() { | |
console.info( | |
"%cSvgMe__javascriptES5", | |
"padding: 0.2rem 0.5rem; background-color: rgb(17, 176, 200); color: #fff;" |
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
function validation(num) { | |
if (num == "undefined" || num == null || num == "") { | |
console.log("Inserta un número."); | |
return 0; | |
} else { | |
if (isNaN(num) && num !== "") { | |
console.log("Ups... " + "'" + + num + "'" + " no es un número."); | |
return 1; | |
} else { | |
if (num % 1 == 0) { |
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
function BrowserDetection() { | |
var browser; | |
if ((navigator.userAgent.indexOf("MSIE") != -1) || (!!document.documentMode == true)) { | |
browser = "IE"; | |
} else if (navigator.userAgent.indexOf("Edge") != -1) { | |
browser = "Edge"; | |
} else if (navigator.userAgent.indexOf("Chrome") != -1) { | |
browser = "Chrome"; | |
} else if (navigator.userAgent.indexOf("Firefox") != -1) { |
Making an anchor to another heading in the same file as the anchor is straightforward.
[The header of this page](#same-file-anchors-for-github)
Will show as The header of this page.
The heading should be downcased, spaces changed to hyphens, and removed anything not a letter, hyphen, or space. If this id is not unique, you add "-1", "-2", and so forth to the header.
NewerOlder