Skip to content

Instantly share code, notes, and snippets.

View RichardBronosky's full-sized avatar

Bruno Bronosky RichardBronosky

View GitHub Profile
@RichardBronosky
RichardBronosky / rpi-3-1.txt
Created March 17, 2024 10:05
Arducam 16MP Autofocus install failure
bruno@rpi-3-1:~ $ chmod +x ardu-test.sh
bruno@rpi-3-1:~ $ cat ardu-test.sh
#! /usr/bin/env bash
set -x
uname -a
sudo cat /etc/os-release
@RichardBronosky
RichardBronosky / BOILERPLATE.sh
Last active March 19, 2024 01:22
tools-rpi is a bash script full Raspberry Pi tools
#! /usr/bin/env bash
_setup_env() {
_env_blrplate
# 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": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Bruno Bronosky",
"label": "Principal DevOps Engineer | Team Lead & Trainer",
"image": "http://www.gravatar.com/avatar/959ccd33301cb3c15953c1a632a36763?s=500",
"email": "job-application@bronosky.com",
"phone": "(404) 992-7866",
"url": "https://bronosky.com/resume/",
"urlPrintable": "https://bronosky.com/resume/",
@RichardBronosky
RichardBronosky / pseudonvim
Last active July 8, 2022 14:52
Pseudonvim: vim pseudonyms for nvim
#! /usr/bin/env bash
set -eu
nym="$(basename $0)"
pseudonyms=(
"vim:nvim"
"vimdiff:nvim -d"
"view:nvim -R"
"ex:nvim -e"
"exim:nvim -E"
"rview:nvim -RZ"
@RichardBronosky
RichardBronosky / aurutils_inst_conf.md
Last active July 8, 2022 06:01 — forked from geosharma/aurutils_inst_conf.md
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:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
@RichardBronosky
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 github.com
[url "ssh://git@github.com/RichardBronosky"]
# This one allows you to clone from the URL in your browser address bar
insteadOf = https://github.com/RichardBronosky
# Use SSH instead of HTTPS for gist.github.com
# No, gist URLs do not indluce the username.
[url "ssh://git@gist.github.com/"]
# This one allows you to clone from the URL in your browser address bar. Example URL:
# https://gist.github.com/RichardBronosky/9db43c0e374933c82401fb2be85494aa
@RichardBronosky
RichardBronosky / autofork.js
Last active April 15, 2022 03:47 — forked from johan/autofork.js
Autoforking
var f = document.createElement("form");
f.method = "POST";
f.action = location.pathname + "/fork";
f.appendChild(document.querySelector("form[action$=\\/fork] > input[name=authenticity_token]"));
document.body.appendChild(f)
f.submit();

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