DDP creation, verification & burn using Reaper, ddpinfo and ImgBurn.
TLDR
# -*- coding: utf-8 -*- | |
""" | |
Dump out objects and all nested associations. | |
""" | |
from __future__ import absolute_import, print_function, unicode_literals | |
import sys | |
from django.contrib.admin.utils import NestedObjects | |
from django.core import serializers |
colorscheme:python-log | |
cs_re_s:blue:[DEBUG|INFO|WARNING|CRITICAL|ERROR] ([a-z\.0-9\_]+): | |
cs_re_s:white,magenta,bold:(\sDEBUG\s) | |
cs_re:magenta:.*DEBUG.* | |
cs_re_s:white,green,bold:(\sINFO\s) | |
cs_re:green:.*INFO.* | |
cs_re_s:white,yellow,bold:(\sWARNING\s) | |
cs_re:yellow:.*WARNING.* | |
cs_re_s:white,red,bold:(\sCRITICAL\s) | |
cs_re:red:.*CRITICAL.* |
<?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 remaps the Context Key (between the right hand Alt and Control on a normal keyboard) to the F20 key. | |
See https://apple.stackexchange.com/a/398797/264061 | |
Source is stored in https://gist.github.com/alexhayes/be6257459eb7a2dbc1e5b2baaebdac90 | |
--> | |
<plist version="1.0"> |
# See https://github.com/direnv/direnv/wiki/Python#-pyenv | |
use_flutter() { | |
PATH_add "$HOME/workspace/flutter/bin" | |
} | |
# Python using pyenv | |
# | |
# Usage: | |
# Install python with: |
Lab-1: Cluster Creation | |
--------------------------- | |
1. MSK Workshop link = https://amazonmsk-labs.workshop.aws/en/clustercreation.html | |
2. Use the following cloudformation template, download it on your laptop | |
https://github.com/vikasbajaj/msk-kafka-workshop/blob/master/msk-infra-and-kafka-clients/MSK-VPC-Clients.yaml | |
3. Make sure you are in running this lab in ap-southeast-2 (sydney) region |
There are a number of solutions for installing supervisord and automatically running it on Ubuntu - this is what worked for me (on multiple installations...).
sudo bash < <(curl https://gist.githubusercontent.com/alexhayes/814fd0d0f7020e918a95/raw/full-install.sh)
# 1) Create your private key (any password will do, we remove it below) | |
$ cd ~/.ssh | |
$ mkdir local | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password |
# Move to | |
bind ;:cmd,alt,ctrl throw 0 | |
bind .:cmd,alt,ctrl throw 1 | |
# Resize on Top Screen | |
bind l:cmd,alt move screenOriginX,screenOriginY screenSizeX/2,screenSizeY 0 | |
bind ;:cmd,alt move screenOriginX,screenOriginY screenSizeX,screenSizeY 0 | |
bind ':cmd,alt move screenOriginX+screenSizeX/2,screenOriginY screenSizeX/2,screenSizeY 0 | |
# Resize on Laptop Screen |