Skip to content

Instantly share code, notes, and snippets.

View Paul-weqe's full-sized avatar
🇰🇪
Matata iko

Paul Wekesa Paul-weqe

🇰🇪
Matata iko
View GitHub Profile
@Paul-weqe
Paul-weqe / setup.sh
Last active September 13, 2024 08:50
This is the basic setup for holo routing. With all the proper dependancies and libraries set up.
#!/bin/bash
# basic system setup
sudo apt -y update
sudo apt -y upgrade
sudo apt -y install curl
sudo apt -y install git
# dependencies needed to be able to install libyang
sudo apt install -y gcc
@Paul-weqe
Paul-weqe / djikstras.py
Created November 5, 2022 13:25
Custom implementation of the djikstras algorithm.
import math
from pprint import pprint as pp
class Node:
name = ""
def __init__(self, name=None):
self.name = name
def __repr__(self) -> str:
return f"<Node: {self.name}>"