Last active
June 1, 2018 02:28
-
-
Save MacoChave/89e42c96305bc32c7506b15544696fe0 to your computer and use it in GitHub Desktop.
Node JS
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
const auth = firebase.auth(); | |
auth.SignInWithEmailAndPassword(email, pass); | |
auth.CreateUserWithEmailAndPassword(email, pass); | |
auth.onAuthStateChanged(firebaseUser => {...}) |
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
#INICIAR npm EN EL PROYECTO | |
sudo npm init | |
#AGREGAR UN MODULO AL npm ACTUAL | |
sudo npm i <modulo> --save | |
#DESINSTALAR UNA DEPENDENCIA DEL npm | |
sudo npm uninstall <modulo> --save | |
#INSTALAR TODAS LAS DEPENDENCIAS CARGADAS EN JSON npm | |
sudo npm instalL | |
#DEBUGEAR | |
node inspect <app>.js | |
#BREAKPOINT EN LA LINEA DESEADA | |
breakpoint; | |
#SIGUIENTE LINEA | |
> n | |
#EJECUTAR HASTA EL FINAL | |
>c | |
#INSPECTOR DE VARIABLES | |
>repl | |
#PREGUNTAR EL VALOR DE ALGUNA VARIABLE | |
>variable |
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
#API DIRECCIONES GOOGLE MAPS | |
http://maps.googleapis.com/maps/api/geocode/json?address=Tikal | |
#LISTADO DE USER AGENT | |
http://www.useragentstring.com/pages/useragentstring.php | |
#EXPRESS NODE JS | |
http://expressjs.com/es/starter/hello-world.html | |
http://expressjs.com/es/starter/generator.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment