Skip to content

Instantly share code, notes, and snippets.

@diogofurtado
diogofurtado / grafo.txt
Created June 9, 2017 12:39 — forked from Drowze/grafo.txt
Topological sort
1 0
2 0
3 0
4 3
5 4
6 5
7 5
8 7
9 8
10 9
@diogofurtado
diogofurtado / Ordenação Topológica.c
Last active July 2, 2022 00:03
Ordenação Topológica
#include <stdio.h>
#define MAX_TASKS 39
//Cada vértice é uma variavel do tipo struct Predecessoras para poder expressar 1 ou 2 valores de vértices predecessores, (2 é o MÁXIMO de vértices
//predecessores de acordo com o nosso problema do Projeto,por isso usamos um vetor dessa struct ao invés de int)
typedef struct
{
int Pred1;
int Pred2;
@diogofurtado
diogofurtado / minix_tutorial.md
Last active April 21, 2024 20:04 — forked from Drowze/minix_tutorial.md
MINIX: FROM ZERO TO ZERO+1: From a default installation of Minix (version 3.3.0) to a SSH capable, source included Minix.

Disclaimer

I take no responsability for any problems a user might have on following this gist. This includes university problems.

The motivation for this is to document, as dummy-oriented as possible, a way to setup and add a system call to Minix OS. This is a classic assignment at Operational Systems classes (and is pretty cool tbh)

Configuration:

ISO used: minix_R3.3.0-588a35b.iso