Skip to content

Instantly share code, notes, and snippets.

@aitesam961
aitesam961 / vivado_offline_install.md
Last active April 18, 2026 06:27
Install Vivado using offline installer

This guide outlines the process of installing Vivado using pre-downloaded setup unlike Vivado web installer. The guide is implemented on Ubuntu 24.04 and is compatible with recent ubuntu versions incl. 22.04LTS Note: This is not the recommended way to install but not all of us have access to Vivado officially. If you know, you know :-)

Install pre-pre-requisite libraries

sudo apt install libtinfo-dev libtinfo.so.5 libncurses.so.5

Likely you will see

E: Unable to locate package libtinfo.so.5

@facontidavide
facontidavide / GenericROSPublisher.cpp
Created September 12, 2017 14:48
Generic ROS publisher using ShapeShifter
#include "ros/ros.h"
#include "sensor_msgs/JointState.h"
#include "topic_tools/shape_shifter.h"
#include "ros/message_traits.h"
#include <sstream>
template <typename T>
void SerializeToByteArray(const T& msg, std::vector<uint8_t>& destination_buffer)
{
const uint32_t length = ros::serialization::serializationLength(msg);
@FlorianWolters
FlorianWolters / CMakeLists.txt
Last active March 2, 2026 01:50
Add Boost C++ Libraries as a dependency with plain CMake
# Copyright (c) 2014-2023 Florian Wolters
# MIT License
cmake_minimum_required(VERSION 3.26.3)
project(
"hello_boost_with_cmake"
VERSION 2.0.0
LANGUAGES CXX)
@manuelvonthron-opalrt
manuelvonthron-opalrt / bpf-filter.c
Last active January 15, 2026 07:59
Raw network traffic filtering/writing with BPF for QNX/BSD
/**
* Created by Manuel Vonthron
* Copyright (c) 2014 OPAL-RT Technologies, Inc.
*/
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>