Traceback (most recent call last):
File "/usr/lib64/google-cloud-sdk/lib/gcloud.py", line 104, in <module>
main()
File "/usr/lib64/google-cloud-sdk/lib/gcloud.py", line 62, in main
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
FROM golang:1.21.6-alpine AS deps | |
WORKDIR /app | |
COPY go.mod go.sum ./ | |
RUN --mount=type=cache,target=/go/pkg \ | |
go mod download | |
FROM golang:1.21.6-alpine AS build |
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
FROM golang:1.21.6-alpine AS build | |
ARG TARGETOS=linux | |
ARG TARGETARCH=amd64 | |
ARG PROJECT=./cmd/myapp | |
WORKDIR /app | |
ENV CGO_ENABLED=0 | |
COPY go.mod go.sum ./ |
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
apiVersion: v1 | |
data: | |
cortex-querier-frontend-conf.yaml: |- | |
# Disable the requirement that every request to Cortex has a | |
# X-Scope-OrgID header. `fake` will be substituted in instead. | |
auth_enabled: false | |
# We only want to run the query-frontend module. | |
target: query-frontend |
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
apiVersion: "config.istio.io/v1alpha2" | |
kind: handler | |
metadata: | |
name: stackdriver | |
namespace: istio-system | |
labels: | |
app: istio-telemetry | |
release: istio-telemetry | |
spec: |
I hereby claim:
- I am braderz on github.
- I am braderz (https://keybase.io/braderz) on keybase.
- I have a public key ASDBNtEQB49ajJ7yr8rgjT-hTiEkVLzMKMHrVzYht8qFpQo
To claim this, I am signing this object:
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
twitch_bot:channel_info:* | |
$5 | |
COUNT | |
$8 | |
10000000 | |
*4 | |
:46 | |
:1502185700 | |
:4024097 | |
*6 |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# IDE's # |
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
#!/bin/sh | |
# iptables script generated 2017-01-24 | |
# http://www.mista.nu/iptables | |
IPT="/sbin/iptables" | |
# Flush old rules, old custom tables | |
$IPT --flush | |
$IPT --delete-chain |
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
# Get all the old replicasets of a kubernetes cluster and output them to a file which is then run | |
kubectl get --all-namespaces rs -o json|jq -r '.items[] | select(.spec.replicas | contains(0)) | "kubectl delete rs --namespace=\(.metadata.namespace) \(.metadata.name)"' > old.sh && sh old.sh | |
# Remove all exited docker images | |
docker rm $(docker ps -qa --no-trunc --filter "status=exited") | |
# Add an existing IAM role to an existing EC2 instance | |
aws ec2 associate-iam-instance-profile --instance-id ${INSTANCE_ID} --iam-instance-profile Name=${IAM_ROLE} |