Skip to content

Instantly share code, notes, and snippets.

@BenBergman
BenBergman / .tmux.conf
Last active November 29, 2022 20:11
.config/ranger/rc.conf
setw -g mode-keys vi
set-option -ga terminal-overrides ",xterm-256color:Tc" # enables TrueColor support
#run-shell "powerline-daemon -q"
#source '/usr/lib/python3.6/site-packages/powerline/bindings/tmux/powerline.conf'
#run-shell "python $(which powerline-daemon) -q"
#source '/Users/benjamin.bergman/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/powerline.conf'
@BenBergman
BenBergman / Cargo.toml
Last active January 21, 2020 15:06
Trying to get M0 USB working, starting with the Circuit Python Express
[package]
name = "circuit_playground_express"
version = "0.5.0"
authors = ["Paul Sajna <[email protected]>"]
description = "Board Support crate for the Adafruit Circuit Playground Express"
keywords = ["no-std", "arm", "cortex-m", "embedded-hal"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/atsamd-rs/atsamd"
readme = "README.md"
documentation = "https://atsamd-rs.github.io/atsamd/atsamd21g18a/circuit_playground_express/"
@BenBergman
BenBergman / label_maker.sh
Created June 9, 2024 16:00
Scripts for generating 9mm tall labels for gridfinity bins 1U and 2U wide
#!/bin/bash
ICON_DIR="Icon Set PNG"
HEAD="Head_Hex.png"
SCREW="Screw_Socket.png"
TOP_TEXT="M5"
BOTTOM_TEXT="304 Stainless"
TEXT=" "
OUT="${TOP_TEXT}-${BOTTOM_TEXT}-${SCREW%.*}-${HEAD%.*}.png"