Skip to content

Instantly share code, notes, and snippets.

View marcocspc's full-sized avatar

Marco Antonio marcocspc

View GitHub Profile
@nikp123
nikp123 / Armbian USB gadget guide.md
Last active October 28, 2025 05:38
How to make a USB gadget on Armbian Linux

This guide will include a step-by-step guide on how to set up an board running Armbian to act as a gadget device (similar to how it's been advertized with the Pi Zero)

Prerequisites

You will need a:

  • Armbian supported board with an OTG port
  • A temporary spare monitor, USB keyboard and display cable (or serial, if you'd like that instead)
  • USB cable
@leifj
leifj / ff_set
Last active January 4, 2023 18:08
A simple cmdline to set firefox config in all profiles found in $HOME/.mozilla/firefox - useful to disable TRR
#!/bin/bash
#
# https://blog.ungleich.ch/en-us/cms/blog/2018/08/04/mozillas-new-dns-resolution-is-dangerous/
# https://askubuntu.com/questions/313483/how-do-i-change-firefoxs-aboutconfig-from-a-shell-script
#
# To completely disable sending your DNS queries to cloudflare:
#
# ff_set network.trr.mode 5
#