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 listaProyectos = [] | |
const listaDepen = [] | |
db.collection('proyectos').get(). | |
then(res => { | |
res.forEach(doc =>{ | |
let proyecto = doc.data() | |
proyecto.id = doc.id | |
listaProyectos.push(proyecto) | |
}); | |
}) |
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
{ | |
"name": "vuejs1", | |
"version": "1.0.0", | |
"description": "PRUEBA DE TESTEO PARA VUE", | |
"main": "index.js", | |
"license": "MIT", | |
"private": true, | |
"scripts": { | |
"install": "" | |
}, |
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
var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const path = require('path'); | |
module.exports = { | |
mode: 'development', | |
entry: './main.js', | |
// watch: true, | |
output: { | |
path: path.join(__dirname, 'dist'), | |
// publicPath: '/dist/', |
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
#NODEMON-NODEJS | |
#INSTALAR NODEMON, PARA NO ESTAR CORRIENDO O DETENIENDO LA APLICACIÓN Y RECARGANDO DE NUEVO | |
#INSTALAR COMO DEPENDENCIA DE PRODUCCIÓN EN TU PROYECTO | |
npm i nodemon | |
#INSTALAR COMO DEPENDENCIA DE DESARROLLO EN TU PROYECTO | |
npm i -D nodemon | |
#SE CREA UNA NUEVA DEPENDECIA EN EL package.json |
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
# Logs | |
logs | |
*.log | |
# Runtime data | |
pids | |
*.pid | |
*.seed | |
# Directory for instrumented libs generated by jscoverage/JSCover |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.xixo.testing</groupId> | |
<artifactId>simple-maven-project-for-all-testing</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<name>Simple Maven Project for Testing</name> | |
<description>Testing all question</description> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mx.com.xixo</groupId> | |
<artifactId>spring-interprete-demo-filosofia</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>spring-framework-inyeccion-dependencia</name> | |
<description>Purebas de Spring</description> |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mx.com.xixo</groupId> | |
<artifactId>spring-interprete-demo-filosofia</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>spring-framework-inyeccion-dependencia</name> | |
<description>Purebas de Spring</description> |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mx.com.xixo</groupId> | |
<artifactId>spring-interprete-demo-filosofia</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>spring-framework-inyeccion-dependencia</name> | |
<description>Purebas de Spring</description> |
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
/** | |
* Dado el siguiente codigo. | |
* @author neroxixo | |
*/ | |
class Vehicle{ | |
String type = "4W"; | |
int maxSpeed = 100; | |
public Vehicle(String type, int maxSpeed) { | |
this.type = type; |
NewerOlder