Skip to content

Instantly share code, notes, and snippets.

View RichardBronosky's full-sized avatar

Bruno Bronosky RichardBronosky

View GitHub Profile
RichardBronosky / rpi-3-1.txt
Created March 17, 2024 10:05
Arducam 16MP Autofocus install failure
bruno@rpi-3-1:~ $ chmod +x
bruno@rpi-3-1:~ $ cat
#! /usr/bin/env bash
set -x
uname -a
sudo cat /etc/os-release
RichardBronosky /
Last active March 19, 2024 01:22
tools-rpi is a bash script full Raspberry Pi tools
#! /usr/bin/env bash
_setup_env() {
# Perform env setup by defining an _env function in calling script
if _is_function _env; then _env; fi
_env_blrplate() {
# ctrl chars for terminal colorizing
"$schema": "",
"basics": {
"name": "Bruno Bronosky",
"label": "Principal DevOps Engineer and Trainer",
"image": "",
"email": "",
"phone": "(404) 992-7866",
"url": "",
"summary": "Born in the Appilachian mountains of West Virginia to a radio electronics technician, Bruno grew up in coal mining\ncountry where most of his classmates remain. He never threw a ball with his father, though they did attend a\nhandfull of Cincinnati Reds baseball games. They spent their nights and weekends soldering Heathkit projects from\nRadio Shack and writing games and equation solvers in Borland Turbo Basic, then Turbo Pascal, and eventually Delphi.\nWhen calling his father in 1995 to tell him Bruno got his first professional programming gig, they both saw this\nlike getting drafted in the MLB.
RichardBronosky / pseudonvim
Last active July 8, 2022 14:52
Pseudonvim: vim pseudonyms for nvim
#! /usr/bin/env bash
set -eu
nym="$(basename $0)"
"vimdiff:nvim -d"
"view:nvim -R"
"ex:nvim -e"
"exim:nvim -E"
"rview:nvim -RZ"
RichardBronosky /
Last active July 8, 2022 06:01 — forked from geosharma/
Arch Linux: aurutils installation and configuration

aurutils installation and configuration

This is not a getting started guide, just notes to myself. Due to my limited knowledge there could be mistakes and better ways to do things. I have configured aurutils to the best of my knowledge after reading the manpages and forums. Please refer to aurutils(7) manpages for installation and configuration.

Reference: aurutils(7)

Install aurutils

Install the aurutils using the normal AUR package installation procedure. Until I found aurutils, I used to create a separate directory ~/arc/aur/arch for all AUR packages and ~/arc/aur/$USER for all personal packages not in the AUR.

# See this wiki page for more info:
print_info() {
info title
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
RichardBronosky / gitconfig-use_ssh_for_github.conf
Created May 31, 2022 22:57
Always clone via SSH regardless of using an HTTPS URL.
# Use SSH instead of HTTPS for
[url "ssh://"]
# This one allows you to clone from the URL in your browser address bar
insteadOf =
# Use SSH instead of HTTPS for
# No, gist URLs do not indluce the username.
[url "ssh://"]
# This one allows you to clone from the URL in your browser address bar. Example URL:
RichardBronosky / autofork.js
Last active April 15, 2022 03:47 — forked from johan/autofork.js
var f = document.createElement("form");
f.method = "POST";
f.action = location.pathname + "/fork";
f.appendChild(document.querySelector("form[action$=\\/fork] > input[name=authenticity_token]"));

Want to fork your own gists? No fork button? No problem! Install this user script by clicking refork.user.js' "raw" link down below: ⇓

RichardBronosky / plugin.bash
Last active April 10, 2022 08:14
Helm plugin to list repos in a copy-paste friendly format for sharing
#! /usr/bin/env bash
set -eu
./ get_branches | ./ checkout_merge_push_delete
_funcs | sed $'1i Functions:\n; s/^/ /'