$ systemctl stop apt-daily.timer
$ systemctl disable apt-daily.timer
$ systemctl mask apt-daily.service
$ systemctl daemon-reload
check current status
#pragma once | |
#include <cpprest/json.h> | |
/** | |
* @brief Parse a JSON file into a JSON object. | |
* | |
* @param jsonFileName The path to the JSON file to parse. | |
*/ |
Install WireGuard via whatever package manager you use. For me, I use apt. | |
$ sudo add-apt-repository ppa:wireguard/wireguard | |
$ sudo apt-get update | |
$ sudo apt-get install wireguard | |
MacOS | |
$ brew install wireguard-tools | |
Generate key your key pairs. The key pairs are just that, key pairs. They can be |
#!/usr/bin/env python3 | |
""" | |
License: MIT License | |
Copyright (c) 2023 Miel Donkers | |
Very simple HTTP server in python for logging requests | |
Usage:: | |
./server.py [<port>] | |
""" | |
from http.server import BaseHTTPRequestHandler, HTTPServer |
#!/bin/bash | |
THERM=$(cat $1) | |
CPU=$(cat /sys/class/thermal/thermal_zone0/temp) |