Skip to content

Instantly share code, notes, and snippets.

View jorgeteixe's full-sized avatar

Jorge Teixeira Crespo jorgeteixe

View GitHub Profile

Instalación Odoo 12

Jorge Teixeira Crespo 2º DAM

Ubuntu Server 18.04

Requisitos previos

Instalación en VirtualBox de Ubuntu Server 18.04

@jorgeteixe
jorgeteixe / apuntes_neodatis.md
Last active March 2, 2020 08:08
Apuntes AAD

Bases de datos orientadas a objetos

Sistema Gestor de Base de Datos Orientada a Objetos (SGBDOO).

¿Estudias con mis apuntes?

Características

  • Los datos se almacenan como objetos.
  • Cada objeto se identifica con un identificador único no modificable.
@jorgeteixe
jorgeteixe / PSP-Unidad3.md
Created March 5, 2020 21:52
Apuntes PSP.

Unidad 3: Programación distribuida.

¿Te ayudan mis apuntes?

La programación distribuida

La programación distribuida se da cuando varios ordenadores se comunican entre sí, colaborando para realizar una tarea u objetivo común.

Las características son:

## Copyright (C) 2020 Jorge Teixeira Crespo
##
## dicotomia(función, intervalo, error, información)
##
## Uso:
##
## función: puntero a la función a analizar.
##
## intervalo: intervalo a analizar de la función. [izq drcha]
##
@jorgeteixe
jorgeteixe / hours.py
Created June 17, 2021 15:57
Calculates at what time I have to leave the office given an start time and the pending time.
#!/usr/bin/env python3
import sys
time_spaces = ['AM', 'PM']
def main(argv):
try:
start = argv[0]
await Promise.all(
[
new Promise((resolve, reject) => {
setTimeout(resolve, 2000)
})
]
)
@jorgeteixe
jorgeteixe / main.go
Created December 13, 2022 15:37
Simple go web app.
package main
import (
"fmt"
"log"
"net/http"
)
func main() {
@jorgeteixe
jorgeteixe / index.html
Created December 13, 2022 15:38
Example webpage.
<!doctype html>
<html>
<head>
<title>This is the title!</title>
</head>
<body>
<p>This is an example paragraph.</p>
</body>
</html>
@jorgeteixe
jorgeteixe / docker-compose.yml
Last active December 13, 2022 16:45
Wordpress - Mysql - Caddy
services:
db:
image: mysql:5.7
volumes:
- dbdata:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: wp
MYSQL_DATABASE: wp
MYSQL_USER: wp
MYSQL_PASSWORD: wp