oc project demodays
oc new-app https://github.com/greyhoundforty/demo-cats --name=cats --strategy=docker
| #!/usr/bin/env python3 | |
| """ | |
| Proxmox Deployment Information Gatherer | |
| ======================================== | |
| This script collects detailed system information needed to create a custom | |
| Proxmox installation and configuration script for IBM Cloud Classic bare metal servers. | |
| Focuses on: | |
| - Network configuration (bonded interfaces, static IPs) |
| #!/usr/bin/env python3 | |
| """ | |
| IBM Cloud Object Storage - HMAC Credential Bucket Access Tester | |
| This script tests HMAC credentials to determine which buckets you can actually | |
| read from and download files. Useful when credentials may only work for certain | |
| buckets due to regional restrictions or permissions. | |
| Usage: | |
| python test_bucket_access.py |
| #!/usr/bin/env python3 | |
| """ | |
| Generates QR codes for WiFi network connection | |
| """ | |
| import click | |
| import qrcode | |
| from pathlib import Path |
| import os | |
| import pandas as pd | |
| import glob | |
| from typing import Dict, List, Optional, Union, Tuple | |
| import statistics | |
| import click | |
| class RVToolsAnalyzer: | |
| def __init__(self, directory_path: str = None): | |
| """ |
| #!/usr/bin/env bash | |
| # Log all output | |
| exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
| echo "Starting worker node installation..." | |
| # Update package manager and add dependencies | |
| dnf makecache | |
| dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo |
A Python utility for scanning directories to identify code projects by file types and Git repository status.
| import os | |
| import subprocess | |
| import click | |
| import tldextract | |
| from datetime import datetime | |
| from ibm_cloud_sdk_core.authenticators import IAMAuthenticator | |
| from ibm_cloud_sdk_core import ApiException | |
| from ibm_code_engine_sdk.code_engine_v2 import CodeEngineV2, ProjectsPager | |
| from pydo import Client |