- Novel; Not your typical technical book
- Transformation of Broken Organization towards DevOps Culture
- Quintessential beginning of a DevOps journey
- Pros: Easy to digest, can suggest to executives
- Cons: The implementation details are fuzzy
- Quip: We all know Brent. Help Brent not be Brent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ocio_profile_version: 2.5 | |
| strictparsing: true | |
| name: cicp-encodings-v1.3.0 | |
| description: | | |
| An OCIO config for working with CICP metadata | |
| This config contains RGB color spaces that correspond to various encodings defined in | |
| the CICP / H.273 specifications. | |
| Includes aliases included with `png_cicp_editor` utility. See https://svgees.us/blog/cICP.html#fn26 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| class NumericLookup(dict): | |
| """ | |
| Extends *dict* type to provide a lookup by value(s), including numpy arrays. | |
| Methods | |
| ------- | |
| keys_from_value | |
| first_key_from_value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import PyOpenColorIO as ocio | |
| import numpy as np | |
| import colour as colour | |
| from six import string_types | |
| __version__ = "2020.11.08.0" | |
| OUTPUT = "/tmp/test_config.ocio2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def delegate(to, *methods): | |
| ''' | |
| Class decorator to delegate methods to another objects. | |
| >>> @delegate('v', 'upper') | |
| ... @delegate('v', 'lower') | |
| ... @delegate('v', 'wrong_method') | |
| ... @delegate('not_an_attribute', 'wrong_attribute') | |
| ... class Foo: | |
| ... def __init__(self, v): | |
| ... self.v = v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- encoding: utf-8 -*- | |
| import plistlib | |
| import zict | |
| import os | |
| import appdirs | |
| from replutilities import attr, isstring, isbytes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ast | |
| import contextlib | |
| import json | |
| import os | |
| import string | |
| from collections import OrderedDict | |
| from enum import Enum | |
| from numbers import Number | |
| from string import Template |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import importlib.abc | |
| import importlib.machinery | |
| import sys | |
| import types | |
| class DependencyInjectorFinder(importlib.abc.MetaPathFinder): | |
| def __init__(self, loader): | |
| self._loader = loader | |
| def find_spec(self, fullname, path, target=None): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| # | |
| # PyCheckMate, a PyChecker output beautifier for TextMate. | |
| # Copyright (c) Jay Soffian, 2005. <jay at soffian dot org> | |
| # Inspired by Domenico Carbotta's PyMate. | |
| # Extensively overhauled for version 2.0 by Alexander Böhn. | |
| # | |
| # License: Artistic. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # multiple_dispatch.py | |
| # | |
| # My version: | |
| # https://gist.github.com/fish2000/1af4b852d20b7568a9b9c90fe2346b6d | |
| # | |
| # Forked from the originall by @wolfv: | |
| # https://gist.github.com/wolfv/73f56e4a9cac84eea6a796fde3213456 |
NewerOlder