How to use:
./wordle.sh
Or try the unlimit mode:
| # Commands to install VMware PowerCLI and allow PowerShell to run scripts, if you're using a Desktop version of Windows (e.g. not Windows Server) | |
| PS> Install-Module VMware.PowerCLI -Scope CurrentUser | |
| PS> #Install-Module VMware.PowerCLI -Scope CurrentUser -SkipPublisherCheck -AllowClobber -Force | |
| # The second Install-Module command can be used if you get an error regarding the authenticode signature | |
| # PackageManagement\Install-Package : The module 'VMware.VimAutomation.Sdk' cannot be installed or updated because the | |
| # authenticode signature of the file 'VMware.VimAutomation.Sdk.cat' is not valid. | |
| PS> Get-Module -Name VMware.PowerCLI -ListAvailable | |
| PS> Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser |
| #!/bin/bash | |
| set -e | |
| if [ $# -lt 2 ]; then | |
| echo "usage: $0 <src-dir> <img-tag> [ <s2i-args> ... ]" | |
| exit 1 | |
| fi | |
| fail() { | |
| echo $1 |
oc from 4.4 as 4.3 apparently has a bug in the oc adm catalog command(s)oc patch OperatorHub cluster --type json \
-p '[{"op": "add", "path": "/spec/disableAllDefaultSources", "value": true}]'
| #!/bin/bash | |
| # ocp4-chk-upgrade-channel v1.4 last mod 2022/11/16 | |
| # https://gist.github.com/ryran/072409b1b7efd5018683a8c45e019652 | |
| # Copyright 2020, 2021, 2022 Ryan Sawhill Aroha <[email protected]> | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
| kubectl run snmp-notifier --image=docker.io/maxwo/snmp-notifier \ | |
| --port=9464 --expose \ | |
| --env="SNMP_DESTINATION=127.0.0.1:162" \ | |
| --env="SNMP_DESCRIPTION_TEMPLATE=/etc/snmp_notifier/description-template.tpl" \ | |
| -- '--snmp.trap-description-template=$(SNMP_DESCRIPTION_TEMPLATE)' \ | |
| '--snmp.destination=$(SNMP_DESTINATION)' |
Following steps work for F29 for F31 look here
cat /etc/redhat-release
Fedora release 29 (Twenty Nine)
| #!/usr/bin/env bash | |
| # Copyright (c) 2019 Anton Semjonov | |
| # Licensed under the MIT License | |
| # This script embeds a transpiled ignition (JSON) config in the CoreOS OVA | |
| # as guestinfo parameters, so you can deploy several machines with the | |
| # same configuration easily. | |
| # required arguments / inputs |
| #!/bin/bash | |
| # prerequisite: | |
| # - ec2 instance should attached proper iam role | |
| # - awscli | |
| # - kubectl | |
| # Usage: | |
| # | |
| # define the following variales in your environment (root account) |
| { | |
| "ignition": { | |
| "config": {}, | |
| "timeouts": {}, | |
| "version": "2.1.0" | |
| }, | |
| "networkd": {}, | |
| "passwd": {}, | |
| "storage": { | |
| "files": [{ |