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 python3 | |
# pip install azure-identity azure-keyvault-secrets | |
import sys | |
from azure.keyvault.secrets import SecretClient | |
from azure.identity import DefaultAzureCredential | |
from pprint import pprint |
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
import configparser | |
import gitlab | |
import os | |
import sys | |
import argparse | |
import time | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--group') | |
parser.add_argument('--sleep', default=0, type=int) |
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
import argparse | |
import os | |
import boto, boto.s3, boto.s3.connection | |
parser = argparse.ArgumentParser(description='Toggle S3 bucket versioning.') | |
parser.add_argument('--bucket', required=True, help='Name of the bucket') | |
parser.add_argument('--secure', default=os.environ.get('RGW_SECURE', '1'), type=bool, help='Secure connection') | |
parser.add_argument('--host', default=os.environ.get('RGW_HOST', None), help='RGW Host') | |
parser.add_argument('--port', default=os.environ.get('RGW_PORT', None), type=int, help='RGW port') |
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 | |
apt-get install unzip | |
apt-get -y install alien | |
mkdir isdct | |
cd isdct | |
wget https://downloadmirror.intel.com/23931/eng/DataCenterTool_3_0_0_Linux.zip | |
unzip DataCenterTool_3_0_0_Linux.zip | |
alien --to-deb isdct-3.0.0.400-15.x86_64.rpm | |
dpkg -i isdct_3.0.0.400-16_amd64.deb |