Skip to content

Instantly share code, notes, and snippets.

View rphillips's full-sized avatar

Ryan Phillips rphillips

  • Red Hat
  • Austin, TX
View GitHub Profile
package main
import(
"io/ioutil"
"fmt"
"net"
"net/http"
"log"
)
@rphillips
rphillips / gcrgc.sh
Created June 22, 2017 16:24 — forked from ahmetb/gcrgc.sh
Script to clean up Google Container Registry images pushed before a particular date
#!/bin/bash
# Copyright © 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@rphillips
rphillips / kube-apiserver.yaml
Last active May 8, 2018 15:16
Upstream Checkpoint Testing
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-apiserver
namespace: kube-system
labels:
tier: control-plane
k8s-app: kube-apiserver
spec:
selector:
#!/usr/bin/env bash
## Script to mark nodes for termination on AWS
## usage: term-cluster.sh [filter on name] [region (default: us-east-1)]
##
## Dependencies: jq and awless
##
set -eou pipefail

Keybase proof

I hereby claim:

  • I am rphillips on github.
  • I am rphillips (https://keybase.io/rphillips) on keybase.
  • I have a public key ASBhyBooe3kbil9-5Ljzdu1xNhtVdnqZB2pkPvobt5Ygzwo

To claim this, I am signing this object:

#version=F34
# URLs and REPOs
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-34&arch=x86_64"
repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f34&arch=x86_64" --cost=0
# RPMFusion Free
repo --name=rpmfusion-free --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-34&arch=x86_64" --includepkgs=rpmfusion-free-release
repo --name=rpmfusion-free-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-34&arch=x86_64" --cost=0
repo --name=rpmfusion-free-tainted --mirrorlist="https://mirrors.rpmfusion.org/metalink?repo=free-fedora-tainted-34&arch=x86_64"
# RPMFusion NonFree