This file contains hidden or 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 | |
set -eu | |
# Define variables | |
INSTALL_DIR="/usr/local/bin" | |
NAME="update_hetzner_github_hooks_ips" | |
SCRIPT_NAME="$NAME.py" | |
SCRIPT_PATH="$INSTALL_DIR/$SCRIPT_NAME" | |
SERVICE_FILE="/etc/systemd/system/$NAME.service" |
This file contains hidden or 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 | |
set -eu | |
# Define variables | |
INSTALL_DIR="/usr/local/bin" | |
NAME="update_hetzner_cloudflare_ips" | |
SCRIPT_NAME="$NAME.py" | |
SCRIPT_PATH="$INSTALL_DIR/$SCRIPT_NAME" | |
SERVICE_FILE="/etc/systemd/system/$NAME.service" |
This file contains hidden or 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 | |
set -eu | |
# Define variables | |
INSTALL_DIR="/usr/local/bin" | |
NAME="update_cloudflare_ips" | |
SCRIPT_NAME="$NAME.sh" | |
SCRIPT_PATH="$INSTALL_DIR/$SCRIPT_NAME" | |
SERVICE_FILE="/etc/systemd/system/$NAME.service" |
This file contains hidden or 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
diff --git a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp | |
index f70a6c88f6..e09a4e0ee6 100644 | |
--- a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp | |
+++ b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp | |
@@ -72,9 +72,7 @@ namespace Aws | |
assert(handler); | |
if (!handler) | |
{ | |
- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before." | |
- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", " |
This file contains hidden or 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
/* | |
* Sample command line parser. | |
* | |
* Implements sub-commands with their own option handlers. | |
* | |
*/ | |
#include <assert.h> | |
#include <stdarg.h> | |
#include <stdio.h> |
This file contains hidden or 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
set(PING_RESPONSE "pong") |
This file contains hidden or 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 | |
NODE=kind-control-plane | |
IMG="docker.io/library/alpine" | |
POD="nsenter-$(tr -dc a-z0-9 < /dev/urandom | head -c 6)" | |
OVERRIDE="{\"spec\":{\"nodeName\":\"$NODE\",\"hostPID\":true,\"containers\":[{\"securityContext\":{\"privileged\":true},\"image\":\"${IMG}\",\"name\":\"nsenter\",\"stdin\":true,\"stdinOnce\":true,\"tty\":true,\"command\":[\"nsenter\",\"--target\",\"1\",\"--mount\",\"--uts\",\"--ipc\",\"--net\",\"--pid\",\"--\",\"bash\",\"-l\"]}]}}" | |
kubectl run --rm \ | |
--image "${IMG}" \ | |
--overrides="${OVERRIDE}" \ |
This file contains hidden or 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
ARG KERNEL_VERSION | |
FROM linuxkit/kernel:${KERNEL_VERSION} AS src | |
FROM linuxkit/alpine:3fdc49366257e53276c6f363956a4353f95d9a81 AS builder | |
LABEL maintainer="[email protected]" | |
COPY --from=src /kernel-dev.tar / | |
RUN apk add --no-cache --update \ |
This file contains hidden or 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
/* | |
* dump_stack(ls); | |
*/ | |
void dump_stack(lua_State *L) | |
{ | |
int i; | |
int top = lua_gettop(L); | |
printf("\n#### BOS ####\n"); | |
for(i = top; i >= 1; i--) | |
{ |
NewerOlder