- cat (de concatenar): Visualizar el contenido de un archivo sin un editor:
$ cat prueba.txt
- ls (de listar): Lista el contenido del directorio en el que se está o que se indica:
$ ls /home/directorio/subdirectorio
Post de Nicole Merlin Cap.1. Post de Nicole Merlin Cap.2.
Procurar que no pesen mucho
# Created by https://www.gitignore.io/api/node,sass,ruby,macos,jekyll,angular,android,reactnative,androidstudio | |
### Android ### | |
# Built application files | |
*.apk | |
*.ap_ | |
# Files for the ART/Dalvik VM | |
*.dex |
Guis de estilos: idiomaticjs está bastante bien : https://github.com/rwaldron/idiomatic.js la de arib&b tb es buena Se puede tirar de standardjs.com aunque no tiene todo
Lintr:
Complejidad cyclomática: Es un análisis sobre el código, a medida que está peor la complejidad sube y es peor. Al refactorizar baja y por tanto cuanto más baja sea mejor.
Se puede usar jslint si no se tiene instalado que es online.
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ | |
/* Document | |
========================================================================== */ | |
/** | |
* 1. Correct the line height in all browsers. | |
* 2. Prevent adjustments of font size after orientation changes in | |
* IE on Windows Phone and in iOS. | |
*/ |
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> |
Poner en la consola
mkdir <nombre_proyecto>
cd <nombre_proyecto>
npm init
# remove specific file from git cache | |
git rm --cached filename | |
# remove all files from git cache | |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now working" |
https://ngrok.com/2 |