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 | |
### BEGIN INIT INFO | |
# Provides: memcached | |
# Required-Start: $syslog | |
# Required-Stop: $syslog | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: memcached - Memory caching daemon |
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
#!/usr/bin/env bash | |
if [[ -z $1 ]]; then | |
echo "Supply the url you need the cache headers for." | |
exit 1 | |
fi | |
address=$1 | |
curl -H "Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, |
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
#!/usr/bin/env bash | |
[[ $# -eq 0 ]] && echo "Usage: $0 <kubernetes_manifest_file> ..." && exit 1 | |
_error() { | |
echo "$@" >&2 | |
} | |
api_versions() { | |
awk 'BEGIN {} | |
($1~/kind:/) { kind=$2 } |
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/ksh | |
# | |
# $OpenBSD: flamingzombies, 0.0.1 2020/05/13 18:49:00 rpe Exp $ | |
daemon="/usr/local/bin/fz" | |
rc_bg="YES" | |
. /etc/rc.d/rc.subr | |
rc_start() { |