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
#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

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:

#!/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
@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:
@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
package main
import(
"io/ioutil"
"fmt"
"net"
"net/http"
"log"
)
@rphillips
rphillips / record.lua
Last active August 29, 2015 14:18
Record Terminal
local bit = require('bit')
local ffi = require('ffi')
local S = require('syscall')
ffi.cdef[[
int execl(const char *path, const char *arg0, ...);
int login_tty(int fd);
]]
local STDIN_FILENO = 0
(defvar workgroups2-packages
'(
workgroups2
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defun workgroups2/init-workgroups2 ()
(use-package workgroups2
:init
package main
import (
"errors"
"io"
"os"
"os/user"
"path"
"strings"
var async = require('async');
var _ = require('underscore');
var ld = require('ld');
var dbopsEntity = require('../db/ops/entity');
var dbopsAgentConnection = require('../db/ops/agent_connection');
var dbopsAgent = require('../db/ops/agent');
var errors = require('../util/errors');
var flowCtrl = require('rackspace-shared-utils/lib/flow_control');
var log = require('logmagic').local('ele.lib.util.agent');
var instruments = require('rackspace-shared-utils/lib/instruments');