gcc ssh-askpass.c -o ssh-askpass.exe -Os -flto -s -ffunction-sections -fdata-sections -Wl,--gc-sections -nostartfiles -fno-ident -ffreestanding -nostdlib
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/bash | |
set -xeuo pipefail | |
export PATH="/tmp/python/bin/:/tmp/bin/:$PATH" | |
export HOME=/tmp | |
cd /tmp | |
mkdir /tmp/bin |
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
# https://karask.com/retry-powershell-invoke-webrequest | |
function Invoke-WebRequestRetry { | |
Param( | |
[Parameter(Mandatory=$True)][hashtable]$Params, | |
[int]$Retries = 3, | |
[int]$SecondsDelay = 2 | |
) | |
if ($Params.ContainsKey('Method')) { | |
$method = $Params['Method'] |
Tags: Kubernetes, Operations, DevOps, SRE, Azure, Cloud, Remote
- Im Team verfolgt ihr das gemeinsame Ziel, die bestmöglichen Lösungen auf Basis aktueller Cloud-Native-Technologien für den Bedarf der Kunden zu entwickeln. Dir ist wichtig, dass die Kubernetes Cluster unserer Kunden funktionieren, sicher und aktuell sind. Dabei denkst du über fachliche Grenzen und Projektphasen hinweg und übernimmst gemeinsam die Verantwortung.
- Als Kubernetes Engineer bist Du gemeinsam mit unseren Squads für den reibungslosen Betrieb mitverantwortlich. Deine Expertise bringst Du zusätzlich zur ständigen Optimierung der Systeme ein. Du führst qualifizierte Analysen durch, behebst Incidents und begleitest Changes.
- Du erstellst und verbesserst die Deployment- und Betriebsprozesse sowie die Automatisierungslösungen und designest diese bei Bedarf
- Durch Deine Kreativität und Ideen entwickelst Du unsere Service Angebote kontinuierlich weiter. Dabei legst Du gro
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
# change the prefix from 'C-b' to 'C-a' | |
# (remap capslock to CTRL for easy access) | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# SSH Environment | |
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINXX" | |
setenv -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock | |
set -g set-titles on |
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/bash | |
set -eo pipefail | |
export SCOPE="kubeconfig-oc-wrapper-${CLUSTER_NAME:-default}" | |
export KUBECONFIG="${HOME}/.kube/${SCOPE}.config" | |
function readKeychain() { | |
# https://www.linuxjournal.com/content/return-values-bash-functions | |
local CREDENTIAL="" |
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
const WebpackFilePreprocessorPlugin = require('@jkroepke/webpack-file-preprocessor-plugin'); | |
const minifyHtml = require('html-minifier').minify; | |
module.exports = config => { | |
config.plugins.push( | |
new WebpackFilePreprocessorPlugin({ | |
pattern: /\.(svg)$/, | |
process: source => minifyHtml(source.toString(), { | |
collapseInlineTagWhitespace: true, |
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
const WebpackFilePreprocessorPlugin = require('@jkroepke/webpack-file-preprocessor-plugin'); | |
module.exports = config => { | |
config.plugins.push( | |
new WebpackFilePreprocessorPlugin({ | |
pattern: /\.(json)$/, | |
process: source => JSON.stringify(JSON.parse(source)), | |
}) | |
); |
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 sh | |
set -euo pipefail | |
JWKS_TEMP=$(mktemp) | |
JWKS_URL=$1 | |
curl -s "${JWKS_URL}" | \ | |
python -c 'import sys, json; data=json.load(sys.stdin); print(data["keys"][0]["n"] + data["keys"][0]["e"])' > "${JWKS_TEMP}" | |
{ | |
echo 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA' | openssl base64 -d; |
NewerOlder