An interactive multi-line chart.
Note, I borrowed a bit of code from Duopixel's excellent code sample here.
Upgraded to D3v5.
| """Maps a request to a tenant using the first part of the hostname. | |
| For example: | |
| foo.example.com:8000 -> foo | |
| bar.baz.example.com -> bar | |
| This is a simple example; you should probably verify tenant names | |
| are valid against a whitelist before returning them, since the returned | |
| tenant name will be issued in a `SET search_path TO` SQL query. |
An interactive multi-line chart.
Note, I borrowed a bit of code from Duopixel's excellent code sample here.
Upgraded to D3v5.
| # Doesn't work anymore | |
| docker run -it —-rm —-privileged multiarch/qemu-user-static —-credential yes —-persistent yes | |
| docker run -it —-rm s390x/ubuntu bash | |
| # works | |
| sudo pacman -S qemu qemu-extras | |
| curl -O https://people.debian.org/~aurel32/qemu/powerpc/debian_wheezy_powerpc_standard.qcow2 | |
| qemu-system-ppc -hda debian_wheezy_powerpc_standard.qcow2 |
| .git | |
| __pycache__ | |
| app/static |
| {% macro field_label(field) -%} | |
| <label class="form-label" for="{{ field.id }}"> | |
| {{ field.label.text }} {% if field.flags.required %}*{% endif %} | |
| </label> | |
| {%- endmacro %} | |
| {% macro field(field, group_class=None, space_field_class="") -%} | |
| <div class="form-group{% if group_class %} {{ group_class}}{% endif %}"> | |
| {{ field_label(field) }} | |
| {% if field.errors %} |