This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/-", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |