Skip to content

Instantly share code, notes, and snippets.

No longer a maintainer on Velero.

Nolan Brubaker nrb

No longer a maintainer on Velero.
View GitHub Profile
ashish-amarnath /
Created Feb 11, 2020
Setting up a K8s cluster to support CSI beta snapshot APIs
echo "Creating a Kubernetes 1.17 cluster using Kind..."
kind create cluster --image=kindest/node:v1.17.0 --name csi-117
cd /Users/ashisham/work/kubernetes/src/code/csi-driver-host-path/
echo "Deploying hostpath plugin from $(PWD), from branch $(git branch | grep "*") *"
read -p "Press enter to deploy"
# from
cloudnull /
Last active Dec 6, 2016
Full Multi-Node OpenStack deployment using a single OnMetal host from the Rackspace Public Cloud. Read more in the "About this script" comment.
echo "this gist has been moved into a project please clone from here:"
Apsu /
Last active Feb 1, 2018
Find and fix veth pairs that aren't connected to LXC containers anymore
#!/usr/bin/env bash
# Create associative arrays
declare -A interior=()
declare -A exterior=()
# Make sure ethtool is installed on this host
apt-get install -y ethtool
# For each container
bryanveloso / brew-services.rb
Created Dec 8, 2011 — forked from lwe/brew-services.rb
External script for homebrew to simplify starting services via launchctl, out of the box support for any formula which implements #startup_plist. (This version fixes the deprecation warning raised on Formula.resolve_alias.)
View brew-services.rb
#!/usr/bin/env ruby -w
# brew-services(1) - Easily start and stop formulas via launchctl
# ===============================================================
# [<sudo>] `brew services` `list`<br>
# [<sudo>] `brew services` `restart` <formula><br>
# [<sudo>] `brew services` `start` <formula> [<plist>]<br>
gnunicorn / forms.html
Created Oct 13, 2011
Jinja2 WTForms macros for twitter bootstrap
View forms.html
{%- macro form_field_label(field) -%}
<label for="{{ }}">{{ field.label.text }}
{%- if field.flags.required -%}
<abbr title="Diese Feld muss angegeben werden">*</abbr>
{%- endif %}</label>
{% endmacro %}
{%- macro form_field_description(field) -%}
{% if field.description %}
<span class="descr">{{ field.description }}</span>
gruber / gist:1063574
Last active May 19, 2021
Walken in LA: Hot Dogs
View gist:1063574

By Christopher Walken

Do you enjoy eating hot dogs? I hope you won't be put off by my frankness when I tell you that I absolutely love them. In fact, I enjoy no food item more than a freshly-boiled hot dog. Now, I've done a lot of movies, and it's true that I've worked with quite a few celebrities who did not share this opinion. I'm sorry to say that these people have always angered me.

There are two types of people in this world: those who eat hot dogs whenever it is possible to do so, and those who opt to do other things with their free time.