Skip to content

Instantly share code, notes, and snippets.

View MarcoDotIO's full-sized avatar

MarcoDotIO

View GitHub Profile

Installing CUDA and cuDNN on Ubuntu 24.04

This guide walks through the process of installing NVIDIA CUDA Toolkit and cuDNN on Ubuntu 24.04 for deep learning and GPU-accelerated applications.

Prerequisites

  • Ubuntu 24.04 LTS
  • A compatible NVIDIA GPU
  • Sufficient disk space (at least 5GB for CUDA and 1GB for cuDNN)
  • Administrator (sudo) privileges
@MarcoDotIO
MarcoDotIO / gist:b93d26c879e66d62b533b7a9e914960f
Created June 3, 2025 16:34
ORB SLAM3 on Ubuntu 20.04 Installation

Setting up ORB SLAM3

Installation

Following are the instruction to install ORB-SLAM3, I have referenced this repo for the installation in Ubuntu 20.04 along with further changes added by me.

Modification

Error1:

@MarcoDotIO
MarcoDotIO / ros2.sh
Created April 16, 2026 03:25
Install ROS2 Jazzy
#!/usr/bin/env bash
set -e # Exit on error
echo "=== ROS 2 Jazzy Installation Script ==="
# --- 1. Validate OS ---
if ! grep -q "24.04" /etc/os-release; then
echo "ERROR: This script is intended for Ubuntu 24.04 (Noble)."
exit 1
@MarcoDotIO
MarcoDotIO / nvm-22.sh
Created April 16, 2026 03:33
Install NVM with NPM 22 (Latest)
#!/usr/bin/env bash
set -e # Exit on error
echo "=== NVM + Node.js 22 Installation Script ==="
# --- 1. Install prerequisites ---
echo "[1/5] Installing prerequisites..."
sudo apt update
sudo apt install -y curl build-essential
@MarcoDotIO
MarcoDotIO / gazebo-arm-x86.sh
Created April 16, 2026 03:43
Install Gazebo 11 for both ARM and x86 Machines (ROS2 Jazzy, Ubuntu 24.04)
#!/usr/bin/env bash
set -e
echo "=== Gazebo (Harmonic) Installation for ROS 2 Jazzy (Ubuntu 24.04) ==="
ARCH=$(dpkg --print-architecture)
echo "Detected architecture: $ARCH"
# --- 1. Validate OS ---
@MarcoDotIO
MarcoDotIO / openclaw.sh
Created April 16, 2026 04:00
OpenClaw Installation (Ubuntu 24.04)
#!/usr/bin/env bash
set -euo pipefail
echo "=== OpenClaw install + local daemon + Codex OAuth setup (Ubuntu 24.04) ==="
# --- OS check ---
if ! grep -q 'VERSION_ID="24.04"' /etc/os-release; then
echo "ERROR: This script is intended for Ubuntu 24.04."
exit 1
fi
@MarcoDotIO
MarcoDotIO / ROSClaw.sh
Created April 16, 2026 08:50
ROSClaw Installation Script
#!/usr/bin/env bash
set -euo pipefail
log() {
printf '[install_rosclaw] %s\n' "$*"
}
fail() {
printf '[install_rosclaw] %s\n' "$*" >&2
@MarcoDotIO
MarcoDotIO / vitest-full-tap.log
Created April 27, 2026 18:58
agenc-core PR #541 head 071a542 — full vitest run TAP output (6830 passed | 22 skipped | 0 failed)
This file has been truncated, but you can view the full file.
Starting daemon...
Generating AGENC.md for /var/folders/4j/vk_45j451hl42bxjlpchg51c0000gn/T/agenc-cli-init-create-1YDGie (this may take a minute)...
Starting daemon...
Starting daemon...
Generating AGENC.md for /var/folders/4j/vk_45j451hl42bxjlpchg51c0000gn/T/agenc-cli-init-invalid-nbzRDC (this may take a minute)...
Starting daemon...
Generating AGENC.md for /var/folders/4j/vk_45j451hl42bxjlpchg51c0000gn/T/agenc-cli-init-invalid-guide-x3Iapv (this may take a minute)...
TAP version 13
1..6852
ok 1 - src/idl.test.ts > IDL exports > exports a valid IDL object # time=0.93ms
@MarcoDotIO
MarcoDotIO / devnet-smoke-output.txt
Created April 27, 2026 18:58
agenc-core PR #541 head 071a542 — verified-attestation devnet smoke output (8/8 sections pass)
verified-attestation devnet smoke
rpc=https://api.devnet.solana.com
keypair=/Users/marcodotio/.config/solana/id.json
(node:26649) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
signer=5YFu3Fv6EaMnJuFgGY4Umsfuk2ymvznxmEEuYQontUvG balance=4.0739 SOL
jobSpecStoreDir=/var/folders/4j/vk_45j451hl42bxjlpchg51c0000gn/T/agenc-verified-jobspec-N9JWrJ
replayStoreDir=/var/folders/4j/vk_45j451hl42bxjlpchg51c0000gn/T/agenc-verified-replay-7mV9oz
creatorAgentPda=8e1PSZn3yRyyGGqHe68SabNpiHkdJwGsFmxJ1M8oB5Kj
· jobSpecHash=de97bb755a70b4438e2bba73d9590da6068502fba08deef84b9cdd1673eb688f