oc project demodays
oc new-app https://github.com/greyhoundforty/demo-cats --name=cats --strategy=docker
| #!/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 |
| import os | |
| import csv | |
| import click | |
| from ibm_cloud_sdk_core.authenticators import IAMAuthenticator | |
| from ibm_cloud_sdk_core.api_exception import ApiException | |
| from ibm_platform_services.resource_controller_v2 import * | |
| from ibm_platform_services import IamIdentityV1, ResourceManagerV2 | |
| from rich.console import Console | |
| from rich.table import Table | |
| from rich.text import Text |
| # https://taskfile.dev/ | |
| version: "3" | |
| vars: | |
| TERM: screen-256color | |
| MAIN_PYTHON: python3 | |
| LOCAL_PATH: | |
| sh: 'echo "$(cd "$( dirname -- "$0" )" && pwd)"' | |
| venv_path: "{{.LOCAL_PATH}}/.venv" | |
| venv_bin_path: "{{.LOCAL_PATH}}/.venv/bin" |