this hopefully won't break all the things we've ever built
integration tests passed
I don't know if I should be happy or sad
On the release of AWS Edge Location in Vienna
schnitzel shops rejoice
# hello |
# /usr/bin/env python |
AWS Config provides AWS managed rules, which are predefined, customizable rules that AWS Config uses to evaluate whether your AWS resources comply with common best practices.
You can enable and customize these rules in the AWS Config console according to these instructions. See To set up and activate an AWS managed rule (Console).
...but of course we prefer to automate.
import random | |
import bottle | |
THUMBS_UP = u'\U0001F44D' | |
THUMBS_DOWN = u'\U0001F44E' | |
@bottle.route('/hello/<name>') |
https://pkgs.alpinelinux.org/package/main/x86_64/uwsgi-python
This is when trying to run uwsgi:
server_1 | open("./http_plugin.so"): No such file or directory [core/utils.c line 3675]
server_1 | !!! UNABLE to load uWSGI plugin: Error loading shared library ./http_plugin.so: No such file or directory !!!
server_1 | open("./python_plugin.so"): No such file or directory [core/utils.c line 3675]
"""A no frills config module. | |
A global config is encapsulated at the module level. | |
This module automatically looks for a config.json | |
in the project root when it is imported, and will | |
bootstrap the config with it if found. | |
# main.py |
I hereby claim:
To claim this, I am signing this object:
def kwargs(string, separator='=', type=None): | |
"""Return a dict from a delimited string. | |
If 'type' is not None, values will be passed through | |
to type before returning the dictionary. | |
""" | |
if separator not in string: | |
raise ValueError("Separator '%s' not in value '%s'" | |
% (separator, string)) | |
if string.strip().startswith(separator): |
"""This should work with python 2 & 3 | |
Something curious: if private_bytes() is | |
called with a format other than | |
serialization.PrivateFormat.TraditionalOpenSSL, | |
the generated key will prompt for a password | |
when running `ssh-keygen -f test-key -e` even when | |
encryption is set to serialization.NoEncryption() | |
There's a hunch that this ^^ only occurs on mac os x. |