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 -eux | |
oc import-image --from=docker.io/library/nginx my-nginx --confirm --reference-policy=local | |
oc set image-lookup my-nginx | |
sleep 10 | |
oc apply -f - <<EOF | |
apiVersion: apps.openshift.io/v1 | |
kind: DeploymentConfig |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
) | |
const ( | |
alpineDigest = "sha256:e7d88de73db3d3fd9b2d63aa7f447a10fd0220b7cbf39803c803f2af9ba256b3" |
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
package main | |
import ( | |
"io" | |
"net/http" | |
"time" | |
) | |
type SlowDevNull struct { | |
interval time.Duration |
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 python | |
import os | |
import socket | |
import sys | |
from hashlib import sha1, sha256 | |
from Crypto.Cipher import AES # provided by the package pycryptodome | |
from pyasn1.codec.der import decoder | |
from pyasn1_modules import rfc2437, rfc2459 |
OlderNewer