This file contains hidden or 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
version: 3.2 | |
services: | |
core: | |
image: unpdit/coreemu_vnc | |
ports: | |
- 8080:8080 | |
- 9999:9999 | |
cap_add: | |
- NET_ADMIN | |
- SYS_ADMIN |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
/* PrimerServidorTCP.c | |
Servicio: Las cadenas de texto recibidas de un Cliente son enviadas a la salida estándar. | |
Nota: Por simplicidad del código no se realiza ningún tipo de control de errores. No obstante el servidor es totalmente funcional. | |
*/ | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdio.h> |
This file contains hidden or 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
# Definición automática del año de cursado | |
YEAR ?= $(shell date "+%Y") | |
# Directorios y cálculo de los archivos fuente | |
TEORIA_DIR_NAME ?= Teoría | |
TEORIA_SRC ?= Teoría | |
TEORIAS_MD := $(shell ls $(TEORIA_SRC)/*.md | xargs basename) | |
TOERIAS_PDF := $(foreach FILE,$(TEORIAS_MD),$(YEAR)/$(TEORIA_DIR_NAME)/$(patsubst %.md,%.pdf,$(FILE))) | |
# Prácticas | |
PRACTICA_DIR_NAME ?= Práctica |
This file contains hidden or 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
.DEFAULT_GOAL := help | |
# Some Makefile utilities | |
define PRINT_HELP_PYSCRIPT | |
import re, sys | |
class bcolors: | |
HEADER = '\033[95m' | |
OKBLUE = '\033[94m' | |
OKGREEN = '\033[92m' |
This file contains hidden or 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
# Just quick and dirty way to avoid output in the Jupyter extensions | |
import os | |
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject.settings') | |
from django.core.management.color import no_style | |
from django_extensions.management.shells import import_objects | |
imported_objects = import_objects(options={'dont_load': [], 'quiet_load': True}, style=no_style()) | |
locals().update(**imported_objects) # Very ugly |
This file contains hidden or 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
version: '3' | |
services: | |
core: | |
image: d3f0/coreemu_vnc | |
ports: | |
- 8080:8080 | |
cap_add: | |
- NET_ADMIN | |
- SYS_ADMIN |
This file contains hidden or 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
version: '3' | |
services: | |
jupyter: | |
image: jupyter/base-notebook | |
ports: | |
- 8888:8888 |
This file contains hidden or 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
version: '3' | |
services: | |
mosquitto: | |
image: eclipse-mosquitto | |
ports: | |
- 1883:1883 | |
- 9001:9001 | |
nodered: | |
image: cpswan/node-red |