after installing podman machine normally...
copy this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
This puzzle was based on real-world engineering! NASA's Mars Perseverance Rover was designed with a unique landing system. It deployed a parachute to slow its decent. Then it fired small rockets to hover above the surface and deploy a one-of-a-kind sky crane to lower the rover to the surface while those rockets were firing.
Watch the 2021-02-18 Perseverance Rover's decent and touchdown here: https://youtu.be/4czjS9h4Fpg
(The parachute deploys at 0:12, and the sky crane lowers at 2:45.)
Clowder still does not may finally (as of 611 and RHCLOUD-19289?) support native horizontal pod autoscaling (HPA).
#!zsh | |
# get all current cloudigrade pods logs | |
PROJECT="cloudigrade-stage" | |
#PROJECT="cloudigrade-prod" | |
#PROJECT="cloudigrade-ci" | |
oc project "${PROJECT}" || exit $? | |
DATEDIR=$(gdate -u "+%Y-%m-%dT%H.%M.%S") | |
DIRNAME="logs-$PROJECT-$DATEDIR" |
import boto3 | |
import base64 | |
import pathlib | |
import datetime | |
write_path = f"/tmp/messages/{datetime.datetime.now().isoformat().replace(':', '.')}/" | |
print(f"will write messages into {write_path}") | |
pathlib.Path(write_path).mkdir(parents=True, exist_ok=True) | |
max_batch_size = 10 |
The "data export request API" enables a Koku customer to request an export of some of the data in Koku's database that originated from sources/providers managed by that customer. The export generally includes results from Koku's "daily" and "daily summary" database tables and are generally bound by specific requested dates. Exported files are separated by Koku account, source/provider, date, and table name. These files will be written by Koku to an AWS S3 bucket that the customer specified in the request.
Upon initial request, Koku gives the customer a synchronous response to indicate that it has started the process, but the remainder of the operations are asynchronous. The customer must check back at the API if she wants to see the current state of her data export request.
cd ~/projects/cloudigrade | |
[ -z $VIRTUAL_ENV ] || deactivate 2>&1 >/dev/null | |
workon cloudigrade | |
export DJANGO_SETTINGS_MODULE=config.settings.local | |
export AWS_PROFILE=cluster | |
unset \ | |
AWS_ACCESS_KEY_ID \ |
>>> from openpyxl import load_workbook | |
>>> wb = load_workbook('callsheet.xlsx') | |
>>> wb.get_sheet_names() | |
[u'QuickbooksToPodio'] | |
>>> ws = wb.get_active_sheet() | |
>>> ws.title | |
u'QuickbooksToPodio' | |
>>> print "first row has {} cells".format(len(next(ws.rows))) | |
first row has 12 cells |
from __future__ import print_function | |
import re | |
from sys import argv, exit | |
pattern = r'.*r\.(-?[0-9]+)\.(-?[0-9]+)\.mca$' | |
matcher = re.compile(pattern) | |
north, south, east, west = None, None, None, None |