Skip to content

Instantly share code, notes, and snippets.

View rnovec's full-sized avatar
🏡
Working remotely

Raúl Novelo rnovec

🏡
Working remotely
  • Encora Inc.
  • Mérida, MX
  • 20:41 (UTC -06:00)
  • LinkedIn in/rnoveloc
View GitHub Profile
;---------------------------- BUBBLE_SORT -------------------------------;
BUBBLE_SORT PROC
; this procedure will sort the array in ascending order
; input : SI=offset address of the array
; : BX=array size
; output : none
PUSH AX ; push AX onto the STACK
PAGE 40,132
TITLE MinimoMaximoModa
COMMENT * MÁXIMO, MÍNIMO Y MODA utilizando BUBBLE SORT, CICLOS, SALTOS y COMPARACIONES *
;se inicializara el stack a continuacion
;PUBLIC PROCEDIMIENTO
@rnovec
rnovec / README.md
Last active March 28, 2020 05:34
README template for organization

Como referencia se usara el modelo Post para los comandos a usar en el ORM de Django

#Obtener todos los registros Post.objects.all()

Crear un nuevo registro

Post.objects.create(author=me, title='Sample title', text='Test')

PAGE 40,132
TITLE Calculadora
COMMENT * Realizar un programa de ensamblador utilizando variables y arreglos y realizando
operaciones de suma multiplicación y división teniendo como origen los operandos masa,
distancia y tiempo y como destino los resultados velocidad promedio, fuerza promedio y
trabajo promedio. *
;se inicializara el stack a continuacion
@rnovec
rnovec / HTTP-REST-API-Glosary.md
Last active March 19, 2020 13:18
Glosario de términos para entender el protocolo HTTP y sus subyacentes
# /*
# * Write a function:
# * function solution(A)
# *
# * that, given an array A of N integers, returns the smallest positive integer(greater than 0) that does not occur in A.
# * For example, given A = [1, 3, 6, 4, 1, 2], the function should return 5.
# * 1 1 2 3 4 6
# * Given A = [1, 2, 3], the function should return 4.
# * Given A = [−1, −3], the function should return 1.
# * Write an efficient algorithm for the following assumptions:
/*
* Write a function:
* function solution(A);
*
* that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A.
* For example, given A = [1, 3, 6, 4, 1, 2], the function should return 5.
* 1 1 2 3 4 6
* Given A = [1, 2, 3], the function should return 4.
* Given A = [−1, −3], the function should return 1.
* Write an efficient algorithm for the following assumptions:
@rnovec
rnovec / SmallestPositive.md
Last active May 26, 2022 19:43
Smallest positive integer

Algorithms

Problem #1

/*
 * Write a function:
 * function solution(A);
 * 
 * that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A.
@rnovec
rnovec / docker-compose.yml
Created March 17, 2020 14:51
Docker compose for Django, Celery worker, RabbitMQ & SocketIO
version: '3'
services:
###
# services
###
# main app
web:
build: .
network_mode: host