Skip to content

Instantly share code, notes, and snippets.

View Habbie's full-sized avatar

Peter van Dijk Habbie

View GitHub Profile
diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc
index d649beaba1..c3773ae75f 100644
--- a/pdns/lua-record.cc
+++ b/pdns/lua-record.cc
@@ -1440,6 +1440,7 @@ static string lua_pickclosest(const iplist_t& ips)
static void lua_report(const string& /* event */, const boost::optional<string>& /* line */)
{
throw std::runtime_error("Script took too long");
+ // ::abort();
}
diff --git a/ansible/host_vars/repo1.powerdns.com.yml b/ansible/host_vars/repo1.powerdns.com.yml
index b9b4fe7..078a0db 100644
--- a/ansible/host_vars/repo1.powerdns.com.yml
+++ b/ansible/host_vars/repo1.powerdns.com.yml
@@ -45,10 +45,10 @@ pdns_repo_packages:
'auth-43': 'PowerDNS Authoritative Server - version 4.3.X (end of life)'
'auth-42': 'PowerDNS Authoritative Server - version 4.2.X (end of life)'
'rec-master': 'PowerDNS Recursor - master branch (development)'
- 'rec-53': 'PowerDNS Recursor - version 5.3.X (pre-release)'
- 'rec-52': 'PowerDNS Recursor - version 5.2.X (stable)'
diff --git a/ansible/host_vars/repo1.powerdns.com.yml b/ansible/host_vars/repo1.powerdns.com.yml
index 899fff8..b9b4fe7 100644
--- a/ansible/host_vars/repo1.powerdns.com.yml
+++ b/ansible/host_vars/repo1.powerdns.com.yml
@@ -35,10 +35,10 @@ pdns_private_repo_keys:
pdns_repo_packages:
'auth-master': 'PowerDNS Authoritative Server - master branch (development)'
- 'auth-50': 'PowerDNS Authoritative Server - version 5.0.X (pre-release)'
- 'auth-49': 'PowerDNS Authoritative Server - version 4.9.X (stable)'
Name: dnsdist
Version: %{getenv:BUILDER_RPM_VERSION}
Release: %{getenv:BUILDER_RPM_RELEASE}%{dist}
Summary: Powerful and scriptable DNS loadbalancer
License: GPLv2
Vendor: PowerDNS.COM BV
Group: System/DNS
Source: %{name}-%{getenv:BUILDER_VERSION}.tar.xz
BuildRequires: ninja-build
BuildRequires: hostname
Build started at 2024-10-05T13:56:52.389485
Main binary: /usr/bin/python3
Build Options: -Dbuildtype=release -Dlvgl-driver=fbdev -Dprefer_static=True
Python system: Linux
The Meson build system
Version: 1.5.2
Source dir: /home/runner/work/voorkant-core/voorkant-core
Build dir: /home/runner/work/voorkant-core/voorkant-core/build-armel
Build type: native build
Project name: voorkant
diff --git a/bitflipper.sh b/bitflipper.sh
index d243420..eb2f6b9 100755
--- a/bitflipper.sh
+++ b/bitflipper.sh
@@ -51,19 +51,19 @@ then
else
MTR_INTERFACE=""
fi
-echo "Executing mtr -4Tzbw ${MTR_INTERFACE} ${TARGET}"
-mtr -4Tzbw ${MTR_INTERFACE} ${TARGET} | tee -a $REPORT
newServer('9.9.9.9')
pc = newPacketCache(10000, {maxTTL=86400, minTTL=0, temporaryFailureTTL=60, staleTTL=60, dontAge=false})
getPool(""):setCache(pc)
function randomdelay()
local d = math.random() * 100
print("delaying", d, "ms")
return DNSResponseAction.Delay, d
end
diff --git a/src/front-lvgl.cpp b/src/front-lvgl.cpp
index 241490d..8422ae5 100644
--- a/src/front-lvgl.cpp
+++ b/src/front-lvgl.cpp
@@ -4,6 +4,12 @@
std::mutex g_lvgl_updatelock;
+template<typename UIType>
+void addElement(std::vector<std::unique_ptr<UIEntity>> &_uielements, std::shared_ptr<HAEntity> _entity, lv_obj_t* _contRow) {
diff --git a/src/front-lvgl.cpp b/src/front-lvgl.cpp
index 241490d..8422ae5 100644
--- a/src/front-lvgl.cpp
+++ b/src/front-lvgl.cpp
@@ -4,6 +4,12 @@
std::mutex g_lvgl_updatelock;
+template<typename UIType>
+void addElement(std::vector<std::unique_ptr<UIEntity>> &_uielements, std::shared_ptr<HAEntity> _entity, lv_obj_t* _contRow) {
diff --git a/src/uicomponents/imgs/white24.c b/src/uicomponents/imgs/white24.c
index 91f9392..13ae4cc 100644
--- a/src/uicomponents/imgs/white24.c
+++ b/src/uicomponents/imgs/white24.c
@@ -6947,16 +6947,16 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_WHITE uin
#endif
};
-const lv_img_header_t G_WHITE24HEADER = {
- .cf = LV_IMG_CF_TRUE_COLOR_ALPHA,