Skip to content

Instantly share code, notes, and snippets.

@sts10
sts10 / rust-command-line-utilities.markdown
Last active October 27, 2025 12:49
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@Th3Whit3Wolf
Th3Whit3Wolf / Arch Secure Laptop Install.md
Last active May 4, 2025 09:37
My install instruction for a secure Arch Linux (sway) laptop workstation

What's Cool

  • Encrypted root partition
    • AES-256 bit cipher
    • Argon2id variant for PBKDF
    • Sha3-512 bit hash
  • rEFInd bootloader
    • With dreary theme
    • Optimal Settings (optimized for aesthetics, and boot time)
  • Boot into backups thanks to refind-btrfs
@tejasvi
tejasvi / install.sh
Created June 19, 2020 22:32
Install Trilium server on Termux
pkg install nodejs python build-essential --no-install-recommends -y
wget https://github.com/zadam/trilium/archive/stable.zip`
unzip stable.zip
cd trilium-stable
mv package-lock.json package-lock.json.bak
sed -i.bak '/electron/d' package.json
npm install [email protected] --ignore-scripts
npm install
node src/www
#cloud-config
# This needs to be the "user-data" (no extension) file on vfat partition of the official ubuntu
# raspberry pi image.
# This is the user-data configuration file for cloud-init. By default this sets
# up an initial user called "ubuntu" with password "ubuntu", which must be
# changed at first login. However, many additional actions can be initiated on
# first boot from this file. The cloud-init documentation has more details:
#
# https://cloudinit.readthedocs.io/
@dbaldwin
dbaldwin / gist:fa1baac11b0ae2f000092b695c3d0b33
Created April 6, 2020 17:40
Ubuntu Server 18.04.04 LTS Raspberry Pi 4 Wireless Config with Netplan
From this article:
https://unix.stackexchange.com/questions/550296/how-to-set-up-wifi-on-ubuntu-19-10-server-running-on-raspberry-pi-4
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
@dbaldwin
dbaldwin / gist:351cd33710e212cbe274757b411f9f76
Last active June 19, 2023 18:01
MAVROS Experimentation w/ Pi and Nano
# PX4 launch command
roslaunch mavros px4.launch
# PX4 launch file (default fcu_url worked fine for Pi 4 running Ubuntu server)
https://github.com/mavlink/mavros/blob/master/mavros/launch/px4.launch
If using the mini USB connector on Pi 4 you can use the default fcu_url
<arg name="fcu_url" default="/dev/ttyACM0:57600" />
If using the telemetry 2 port on Pixhawk you need this.
@t-t-t-t-t
t-t-t-t-t / resticheat.md
Created January 22, 2020 22:23 — forked from perfecto25/resticheat.md
Restic cheatsheet

Restic backup application - commands cheatsheet

Installation & config

  1. add Retic repo
  2. yum install restic

add a Restic credential file to root

vim /root/.restic
@nstarke
nstarke / netgear-private-key-disclosure.md
Last active October 8, 2025 20:07
Netgear TLS Private Key Disclosure through Device Firmware Images

Netgear Signed TLS Cert Private Key Disclosure

Overview

There are at least two valid, signed TLS certificates that are bundled with publicly available Netgear device firmware.

These certificates are trusted by browsers on all platforms, but will surely be added to revocation lists shortly.

The firmware images that contained these certificates along with their private keys were publicly available for download through Netgear's support website, without authentication; thus anyone in the world could have retrieved these keys.

@arall
arall / setup.sh
Last active July 5, 2025 11:38
Raspberry 3 Kali Oros42/IMSI-catcher
# Install gr-gsm
sudo apt-get update && \
sudo apt-get install -y \
cmake \
autoconf \
libtool \
pkg-config \
build-essential \
python-docutils \
libcppunit-dev \