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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Sign In with Auth0</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" /> | |
</head> | |
<body> |
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/bash | |
print_gitlab_config() { | |
separator=- | |
ca_row="| %-15s| %c\n" | |
TableWidth=90 | |
printf "%${TableWidth}s\n" | tr ' ' $separator | |
printf "%${TableWidth}s\n" | tr ' ' $separator | |
printf "|%60s %26s\n" "GitLab K8s cluster integration - Connect existing cluster" | |
printf "%${TableWidth}s\n" | tr ' ' $separator |
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/bash | |
while getopts s:t: flag | |
do | |
case "${flag}" in | |
s) GITLAB_SERVER_URL=${OPTARG};; | |
t) GITLAB_SERVER_REGISTRATION_TOKEN=${OPTARG};; | |
esac | |
done |
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
{ | |
"compartmentId": "<compartment-ocid>", | |
"description": "Policy to allow publishers/consumers to use a Stream", | |
"name": "use-streams", | |
"statements": [ | |
"Allow group <group-name> to use stream-push in compartment id <compartment-ocid> where target.stream.id='<stream-ocid>'", | |
"Allow group <group-name> to use stream-pull in compartment id <compartment-ocid> where target.stream.id='<stream-ocid>'" | |
] | |
} |
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
iptables -F | |
iptables -X | |
iptables -P INPUT ACCEPT | |
iptables -P OUTPUT ACCEPT | |
iptables -P FORWARD ACCEPT |
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
oci iam policy list --compartment-id=$OCI_TENANCY | jq -cr '.data[] | ."statements"|.[] | select(. | test("marketplace";"i"))' |
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 python3 | |
# coding: utf-8 | |
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. | |
# This script clean-up all detached block storage (boot and block volumes) | |
# | |
# | |
# | |
# | |
import oci |
NewerOlder