Skip to content

Instantly share code, notes, and snippets.

View RichardBronosky's full-sized avatar

Bruno Bronosky RichardBronosky

View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Bruno Bronosky",
"label": "Principal DevOps Engineer and Trainer",
"image": "http://www.gravatar.com/avatar/959ccd33301cb3c15953c1a632a36763?s=500",
"email": "bruno@bronosky.com",
"phone": "(404) 992-7866",
"url": "https://github.com/RichardBronosky/resume",
"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
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.

@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();
@RichardBronosky
RichardBronosky / tmux-panes.sh
Last active August 17, 2023 15:10 — forked from dmckean/tmux-panes.sh
A combination of the tmux commands: list-sessions list-windows and list-panes
#! /usr/bin/env bash
hi_color=$(tput setaf 4) #blue
bold=$(tput bold)
underline=$(tput smul)
normal=$(tput sgr0)
read -r -d '' usage << DOC
Prints out a table of tmux sessons, windows, and panels.
@RichardBronosky
RichardBronosky / nc.md
Created November 10, 2020 20:52 — forked from jtbonhomme/nc.md
Using Netcat for File Transfers

Netcat is like a swiss army knife for geeks. It can be used for just about anything involving TCP or UDP. One of its most practical uses is to transfer files. Non *nix people usually don't have SSH setup, and it is much faster to transfer stuff with netcat then setup SSH. netcat is just a single executable, and works across all platforms (Windows,Mac OS X, Linux).

Destination

On the receiving (destination) terminal, run:

nc -l -p 1234 > out.file 
@RichardBronosky
RichardBronosky / vimcat.sh
Created November 2, 2020 18:01 — forked from echristopherson/vimcat.sh
Modified version of Matthew Wozniski's vimcat.sh
#!/bin/bash
#!/usr/bin/env vim
#! This is a bash script that executes itself as a vimscript to do its work
#! vim:ft=vim:ts=2:sts=2:sw=2
: if 0
tmpfile=$(mktemp -t vimcat.XXXXXXXX)
exec 9<>"$tmpfile"
rm "$tmpfile"
@RichardBronosky
RichardBronosky / aws.setup-credentials.sh
Last active June 11, 2020 17:01 — forked from sobi3ch/aws.setup-credencials
After downloading default user accessKeys.csv file from AWS console you can setup default profile with following bash function
#!/bin/bash -eu
aws.setup-credentials(){
local FILE="${1:--/dev/null}"
local file_paths_to_check=(
"$FILE"
"./accessKeys.csv"
"$HOME/accessKeys.csv"
"$HOME/Downloads/accessKeys.csv"
)
@RichardBronosky
RichardBronosky / Fork your own Gist.md
Last active November 14, 2019 17:12 — forked from antichris/about.md
Fork your own Gist

Fork your own Gist

It used to be possible to fork your own gists via the browser using a little JS magic. This is no longer the case. As an alternative, you can use Chris Wanstrath's https://github.com/defunkt/gist cli tool to do the next best thing.

Usage

gist-fork git@gist.github.com:fcc543f7f1cfba404caf5ce276cc0951.git
@RichardBronosky
RichardBronosky / delete-all-vpcs-in-region.sh
Created December 20, 2018 22:48 — forked from cjp/delete-vpc.sh
Delete AWS VPC including dependencies
#!/bin/bash -eu
#
# List all VPCs in region and delete them
main(){
if [ -z "$1" ]; then
echo "Usage: $0 <region> [<region> ...]"
exit 64
fi
@RichardBronosky
RichardBronosky / list-all-repos.py
Last active August 4, 2021 16:25 — forked from ralphbean/list-all-repos.py
Script to list all repos for a github organization
#!/usr/bin/env python2.7
""" Print all of the (git/ssh or http) urls for all repos (public or
private+public with personal_token) in a GitHub account (user or organization).
Usage example::
[HTTP_URLS=1] python2.7 list-all-repos.py account_name [personal_token]
It requires the pygithub3 module, which you can install on macos (Mac OSX) like this::
# get pip if you don't have it