Skip to content

Instantly share code, notes, and snippets.

View mateosss's full-sized avatar

Mateo de Mayo mateosss

View GitHub Profile
@mateosss
mateosss / About
Created June 3, 2019 20:53
Other links
mateosss.github.io
@mateosss
mateosss / power.py
Last active October 27, 2024 17:44
Shows laptop power usage in realtime
#!/usr/bin/python3
from time import time, sleep
from pathlib import Path
itime = time()
totcurrent = 0
totvoltage = 0
totpower = 0
samples = 0
@mateosss
mateosss / meson-log.txt
Created September 1, 2021 19:00
meson IRC question
Build started at 2021-09-01T15:59:02.957424
Main binary: /usr/bin/python3
Build Options: -Dinstall-active-runtime=false -Dservice=false -Dprefix=/home/mateo/Documents/apps/oxrinstall
Python system: Linux
The Meson build system
Version: 0.53.2
Source dir: /home/mateo/Documents/apps/oxrdeps/monado
Build dir: /home/mateo/Documents/apps/oxrdeps/monado/build-meson-standalone
Build type: native build
Project name: xrt