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
let base = 5; | |
let height = 10; | |
// Escapando concatenacion con comillas nueva formas de concatenar contenido | |
// console.log(`Hola mundo ${base * height / 2}`); | |
// Funcion normal Forma #1 | |
// function areaTriangulo(base, height){ | |
// return base * height / 2; | |
// } |
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
git add . | |
git commit -m "comentario" | |
//El git pull para bajar cambios | |
git pull origin master | |
------------------------------ | |
//El git push para enviar | |
git push origin master |
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
<?php | |
$bd = new mysqli("localhost","root","andrey15","agenda"); | |
if($bd->connect_errno){ | |
echo "Error en la conexion.."; | |
}else{ | |
echo "Conexion exitosa...<br>"; | |
echo $bd->host_info; | |
} | |
/* //para registrar datos.... |
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 http = require('http'), | |
util = require('util'), | |
formidable = require('formidable'), | |
server; | |
server = http.createServer(function(req, res) { | |
if (req.url == '/') { | |
res.writeHead(200, {'content-type': 'text/html'}); | |
res.end( | |
"<div align='center'>"+ |