Skip to content

Instantly share code, notes, and snippets.

View millaguie's full-sized avatar

Millaguie millaguie

View GitHub Profile
@millaguie
millaguie / jetson-orin-nano-nvme-flash-from-arch.md
Created May 27, 2026 01:09
Flashing a Jetson Orin Nano (Super) to NVMe with JetPack 6.2 from Arch Linux

Flashing a Jetson Orin Nano (Super) to NVMe with JetPack 6.2 from Arch Linux

Flashing an NVIDIA Jetson from an Arch Linux host (no Ubuntu) to its internal NVMe is more involved than NVIDIA's docs suggest. This guide is a complete, tested recipe plus the non-obvious failures you'll hit and how to fix them — so you don't have to repeat the research.

  • Target: Jetson Orin Nano (Super) Dev Kit (module p3767, carrier p3768), flashing Jetson Linux R36.4.4 / JetPack 6.2 (Super profile) to an internal NVMe SSD.
  • Host: Arch Linux with Docker.
  • Verified end-to-end (May 2026): completes with Flash is successful / exit 0, first boot is
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
#!/usr/bin/env python3
import os
import random
import string
# Configuration set PASSWORD_LENGTH env vairable to change default length
password_length = int(os.getenv("PASSWORD_LENGTH", 24))
@millaguie
millaguie / sh
Created May 15, 2020 13:42
Backup script
#!/bin/bash
# This script will backup your home directory to the remote host "backup".
# you can configure it by setting REMOTE, REMOTEDIR and BACKUPDIR env vars.
# If not set it will default all vars.
## Defaulting configuration
REMOTE="${REMOTE:-backup}"
REMOTEDIR="${REMOTEDIR:-~/backups/}"
@millaguie
millaguie / gist:8b4e27c61a7ee206657e
Created March 11, 2015 10:05
Start logging in MySQL
SET GLOBAL log_output = "FILE";
SET GLOBAL general_log_file = "/tmp/MySQL.log"
SET GLOBAL general_log = 'ON';
To switch off
SET GLOBAL general_log = 'OFF';
@millaguie
millaguie / pinning
Created February 24, 2015 12:36
pinning in debian (old style)
echo PACKAGE hold | dpkg --set-selections

Keybase proof

I hereby claim:

  • I am millaguie on github.
  • I am millaguie (https://keybase.io/millaguie) on keybase.
  • I have a public key whose fingerprint is 19F5 3440 A87C 6867 3153 5C9B 9FF5 57F7 99A3 C389

To claim this, I am signing this object: