Skip to content

Instantly share code, notes, and snippets.

View vicentematus's full-sized avatar
🧠
mind over matter!

Vicente Matus vicentematus

🧠
mind over matter!
View GitHub Profile
@vicentematus
vicentematus / recibir-acta.php
Created December 23, 2021 05:02
Recibir-acta.php
<?php
$sql1 = " update acta set tema = '$tema' , fecha = '$reu_fecha' , hora_inicio = '$hora_inicio' , hora_termino = '$hora_termino' ";
$sql2 = " where codigo_acta = $codigo_acta ";
$sql3 = $sql1.$sql2;
$conn->query($sql3);
?>
<?php
include_once("../../conexion_bd/conexion.php");
$errores = "";
if (isset($_POST["submit"])) {
$tema = $_POST["tema"];
$descripcion = $_POST["reu_descripcion"];
$reu_fecha = $_POST["reu_fecha"];
@vicentematus
vicentematus / pipes.c
Created December 28, 2021 06:48
Ejemplo de pipes
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <time.h>
#include <sys/types.h>
#include <sys/wait.h>
int main(int argc, char *argv[])
{
//creamos las pipes