apt-cache madison docker-ce
apt-get install docker-ce=5:28.5.2-1~ubuntu.22.04~jammy
apt-get install docker-ce=5:28.5.2-1~ubuntu.24.04~noble
apt-mark hold docker-ceFor some reason, DNSimple decided that they need to rename their DNS record resource from
dnsimple_record to dnsimple_zone_record.
This requires a quite cumbersome migration on the user's side and the official migration guide leaves a lot to be desired if you have more than a handful of DNS records.
I won't go into the full details of the migration, as it will probably also be somewhat dependent on you exact setup.
| [[inputs.http]] | |
| name_override = "opendtu" | |
| urls = [ | |
| "http://opendtu.example.com/api/livedata/status?inv=123456788", # Inverter 1 | |
| "http://opendtu.example.com/api/livedata/status?inv=123456789", # Inverter 2 | |
| ] | |
| data_format = "json_v2" | |
| [[inputs.http.json_v2]] | |
| [[inputs.http.json_v2.tag]] | |
| path = "inverters.0.serial" |
This all refers to PostgreSQL, on other databases it will probably be different.
-
Create the new User model as an exact copy of
django.contrib.auth.models.User(we assume it will beuser.Userthen) -
Create the migrations and commit them
-
Run the following SQL to simulate that the migration has run
SELECT * FROM django_migrations_id_seq;
Beispiel, t.amp TSA 4-700
Warnung, dieses Dokument dient aktuell dazu die Ueberlegungen niederzuschreiben um sie zu pruefen, es ist moeglicherweise nicht korrekt.
| #!/usr/bin/env python | |
| # | |
| # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| # Version 2, December 2004 | |
| # | |
| # Copyright (C) 2004 Sam Hocevar 14 rue de Plaisance, 75014 Paris, France | |
| # Everyone is permitted to copy and distribute verbatim or modified | |
| # copies of this license document, and changing it is allowed as long | |
| # as the name is changed. | |
| # |
We have a failing disk.
There is data on the disk that we would like to recover, if at all possible.
We can still access the disk using ddrescue, but it is really slow, when we just
try to dump the disk, estimated runtime is more than a year.
We are not actually interested in all the blocks of the disk: There are only specific
| from django.conf import settings | |
| from django.db.models.fields import NOT_PROVIDED | |
| from wagtail.admin.edit_handlers import FieldPanel, MultiFieldPanel | |
| class TranslatedFieldPanel(MultiFieldPanel): | |
| """ | |
| Allow editing of translated fields. |