Skip to content

Instantly share code, notes, and snippets.

Bruno Bronosky RichardBronosky

Block or report user

Report or block RichardBronosky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
RichardBronosky / Fork your own
Last active Nov 14, 2019 — forked from antichris/
Fork your own Gist
View Fork your own

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 cli tool to do the next best thing.


RichardBronosky /
Created Dec 20, 2018 — forked from cjp/
Delete AWS VPC including dependencies
#!/bin/bash -eu
# List all VPCs in region and delete them
if [ -z "$1" ]; then
echo "Usage: $0 <region> [<region> ...]"
exit 64
RichardBronosky /
Last active Feb 15, 2020 — forked from ralphbean/
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 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
RichardBronosky /
Last active Nov 6, 2018 — forked from alexellis/
K8s on Raspbian

Kubernetes on (vanilla) Raspbian Lite

Yes - you can create a Kubernetes cluster with Raspberry Pis with the default operating system called Raspbian. This means you can carry on using all the tools and packages you're used to with the officially-supported OS.

This is part of a blog post Serverless Kubernetes home-lab with your Raspberry Pis written by Alex Ellis.

Copyright disclaimer: Please provide a link to the post and give attribution to the author if you plan to use this content in your own materials.


RichardBronosky /
Created Jul 4, 2018 — forked from Lewiscowles1986/
Raspberry Pi 3 access-point-setup
# This version uses September 2017 august stretch image, please use this image
if [ "$EUID" -ne 0 ]
then echo "Must be root"
RichardBronosky /
Last active Jun 28, 2018 — forked from andreyvit/
tmux cheatsheet

tmux [MINIMAL] cheat sheet


This is the minimum you should memorize to feel at home on any server your SSH into. There are many cheatsheets out there that try to be exhaustive, or suggest mapping shit to more convenient locations, but that is not the goal of this one. Everyone should use tmux for every connection, to every server, always. Memorizing this brings down the barrier to doing so.

Sessions, windows, panes

Session is a set of windows, plus a notion of which window is current.

#!/bin/bash -e
# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh
RichardBronosky /
Last active Nov 27, 2017 — forked from deckerego/
Send Adafruit IO data using curl
# Usage: AIO_KEY=key_hash FEED_KEY=name_of_feed VALUE=an_integer
# Specify any or none of the environment variables
aio_key="${AIO_KEY:-feedfacedeadbeef}" # default: replace everything after the -
feed_key="${FEED_KEY:-myfeedname}" # default: replace everything after the -
value="$(sed 's/"/\\"/g' <<<"${VALUE:-$(( ( RANDOM % 25 ) + 1 ))}")" # default: random int between 0 and 25
curl -H "X-AIO-Key: $aio_key" \
RichardBronosky /
Last active Nov 13, 2017 — forked from UniIsland/
Simple Python Http Server with Upload

How to use this

mkdir temp; cd temp
curl -LO
python2 8080


mkdir temp; cd temp
RichardBronosky / tmux.cheat
Last active Jan 8, 2018 — forked from afair/tmux.cheat
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
View tmux.cheat
========================================== ==========================================
========================================== ==========================================
List tmux ls List ^b w
New -s <session> Create ^b c
Attach att -t <session> Rename ^b , <name>
Rename rename-session -t <old> <new> Last ^b l (lower-L)
Kill kill-session -t <session> Close ^b &
You can’t perform that action at this time.