Skip to content

Instantly share code, notes, and snippets.

Steve Easley SteveEasley

  • CBS Interactive
Block or report user

Report or block SteveEasley

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
@SteveEasley
SteveEasley / gist:66e228e4b7159fe3c6d8522868010fff
Last active Sep 27, 2019
Example of patching an existing Kubernetes Ingress with a new rule
View gist:66e228e4b7159fe3c6d8522868010fff
This is an example of how to do a JSON Patch (RFC 6902) on an existing Kubernetes Ingress.
I could not get it to work with the Strategic Merge patch method using yaml. It would just
replace all the existing rules.
$ kubectl patch ingress some-ingress --type json -p "$(cat test-patch.json)"
# test-patch.json
[{
"op": "add",
"path": "/spec/rules/-",
@SteveEasley
SteveEasley / build_cross_gcc
Last active Oct 15, 2017 — forked from preshing/build_cross_gcc
A shell script to download packages for, configure, build and install a GCC cross-compiler.
View build_cross_gcc
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
apt-get update && apt-get install -y wget g++ make gawk texinfo xz-utils vim
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
View gist:6928450
#define BUFF r1
#define BUFF_POS r2.b0
#define STB_IN r31.t16
#define CLK_IN r31.t5
#define DATA_IN r31.t2
START:
LBCO r0, C4, 4, 4
CLR r0, r0, 4
SBCO r0, C4, 4, 4
View com.com files
M www/js/trackContact.src.js
M www/js/rating_slider.src.js
M www/js/rating_slider.minLocal.js
M www/js/global/lightbox.src.js
M www/js/global/gsdw.src.js
M www/js/global/gsdw.minLocal.js
M www/js/ema/scavenger.js
M www/js/multifile.js
M www/js/thumbrater.src.js
M www/js/image_viewer.js
@SteveEasley
SteveEasley / redis-server
Created Apr 24, 2013
Centos 6 Redis Start Script
View redis-server
#!/bin/sh
#
# redis - this script starts and stops the redis-server daemon
#
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis-server
# config: /etc/redis/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis.pid
You can’t perform that action at this time.