Skip to content

Instantly share code, notes, and snippets.

View ubdussamad's full-sized avatar

Samad (Sam) ubdussamad

View GitHub Profile
@ubdussamad
ubdussamad / building_librealsense.md
Last active November 3, 2025 19:30
Build librealsense for T261/T265 on Raspberry Pi 4 running Ubuntu 22.04 in the big year 2025

Realsense for T261

Building Realsense in this Version in the big 2025 is painful to say the least Since T261's software support is crap, I had to build an older version of librealsense that still supports T261 and use an older version of Ubuntu to get it working.

My System Info

samad@imu:~/rover$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
@ubdussamad
ubdussamad / 10.0.3-trace-events-mod
Created July 24, 2025 23:33
QEMU Modfile for Version:10.0.3
# See docs/devel/tracing.rst for syntax documentation.
# TCG related tracing
# cpu-exec.c
exec_tb(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR
exec_tb_nocache(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR
exec_tb_exit(void *last_tb, unsigned int flags) "tb:%p flags=0x%x"
exec_tb_block(uintptr_t pc) " pc=0x%" PRIxPTR
# cputlb.c
/*
* emulator main execution loop
*
* Copyright (c) 2003-2005 Fabrice Bellard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
#!/bin/bash
PREFIX="${PREFIX:-/usr/local/apache_clean}"
CC="afl-clang-fast"
CXX="afl-clang-fast++"
echo -e " \e[32mAPR"
echo
echo "Running apr with: c-compiler:$CC $CFLAGS c++-compiler:$CXX $CXXFLAGS"
sleep 2
@ubdussamad
ubdussamad / mac-vendor.txt
Created April 6, 2019 07:12 — forked from aallan/mac-vendor.txt
List of MAC addresses with vendors identities
000000 Officially Xerox
000001 SuperLAN-2U
000002 BBN (was internal usage only, no longer used)
000003 XEROX CORPORATION
000004 XEROX CORPORATION
000005 XEROX CORPORATION
000006 XEROX CORPORATION
000007 XEROX CORPORATION
000008 XEROX CORPORATION
000009 powerpipes?