Skip to content

Instantly share code, notes, and snippets.

View MRo47's full-sized avatar

Myron Rodrigues MRo47

View GitHub Profile
@MRo47
MRo47 / yolo_nas_to_onnx.ipynb
Last active May 5, 2025 12:09
Export YOLO-NAS model to ONNX from super-gradients, used for C++ inference engine in MRo47/yolo_nas_cpp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MRo47
MRo47 / grub_fix.md
Created July 19, 2022 09:49
Windows boot not showing in grub (ubuntu/windows dualboot)
@MRo47
MRo47 / bt_reconnect.sh
Last active February 5, 2022 22:41
Fix for bluetooth audio device freezing video/spotify or no audio issue in Ubuntu. This is a known bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589008
#!/bin/bash
# I like to place this file in ~/.scripts/bt_reconnect.sh
# Then assign a keyboard shortcut (CTRL + R) to run this script.
# This can be done on the keyboard shortcut app supplied with Ubuntu desktop.
# Make sure the script has executable permissions: chmod +x ~/.scripts/bt_reconnect.sh
# In the shortcut command enter the full path without using ~ or $HOME
bluetoothctl disconnect <your headset mac address>
systemctl --user restart pulseaudio
@MRo47
MRo47 / AlignedDepth.cpp
Last active July 23, 2023 08:12
Retriving aligned depth and color images from realsense 450i for opencv
#include <opencv2/opencv.hpp>
#include <iostream>
#include <librealsense2/rs.hpp>
#include <cstring>
#include <algorithm>
/*Modded from https://github.com/IntelRealSense/librealsense/issues/2552#issuecomment-431075931
Realsense Customer Engineering Team Comment on fu3lab's issue*/