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
| #Autor: Luis García | |
| #Carrera: Ingeniería en Computación | |
| import os | |
| class node(): | |
| def __init__(self, dato): | |
| self.left = None | |
| self.right = None | |
| self.dato = dato |
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
| #!/bin/sh | |
| VERSION=node_14.x | |
| DISTRO="$(dpkg --status tzdata|grep Provides|cut -f2 -d'-')" | |
| echo "deb https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list | |
| echo "deb-src https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list | |
| curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add - | |
| sudo apt-get -y update | |
| sudo apt-get -y install nodejs |