Skip to content

Instantly share code, notes, and snippets.

View antonioalmeida's full-sized avatar
🍺
Procastinating

António Almeida antonioalmeida

🍺
Procastinating
View GitHub Profile
@bshishov
bshishov / forecasting_metrics.py
Last active April 20, 2024 04:29
Python Numpy functions for most common forecasting metrics
import numpy as np
EPSILON = 1e-10
def _error(actual: np.ndarray, predicted: np.ndarray):
""" Simple error """
return actual - predicted

Data Connection Protocol

We used a script "port.sh" that can virtual emulate a connection through a serial port, you can execute that script by running:

sh port.sh

It's recomended to install socat to use this script.

@ericbolo
ericbolo / route-mic-to-headphones.md
Last active February 28, 2023 12:08
Routing mic to audio output for monitoring (ALSA + PulseAudio)