Skip to content

Instantly share code, notes, and snippets.

View dcruz1990's full-sized avatar
🎯
Focusing

Dennis Quesada Cruz dcruz1990

🎯
Focusing
View GitHub Profile
@dapize
dapize / install-nodejs-in-deepin.sh
Last active October 7, 2023 22:57
For install Node JS 14 in Deepin (distro linux)
#!/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
@codigosdeprogra
codigosdeprogra / arbol.py
Created March 31, 2017 06:05
Arbol binario de busqueda en Python 3
#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