- Go to https://huggingface.co/papers and click through each of the top 3 upvoted papers.
- For each paper:
- Record the title, URL and upvotes
- Summarise the abstract section
- Finally, compile together a summary of all 3 papers, ranked by upvotes
| # Mitigation for CVE-2026-31431 ("Copy Fail") — algif_aead LPE | |
| # https://xint.io/blog/copy-fail-linux-distributions | |
| # Apply: ansible-playbook playbooks/cve-2026-31431.yml | |
| # | |
| # One mitigation per OS family, plus a cleanup pass for hosts that received | |
| # the (now-abandoned) systemd seccomp drop-ins in earlier runs. | |
| # | |
| # Tags: | |
| # cve-kernel RHEL/Alma 9, 10: add initcall_blacklist=algif_aead_init | |
| # to GRUB. No reboot — the arg becomes active on the |
The NGINX Unit control API includes a /status endpoint for usage statistics. This is a solution for exposing these metrics in Prometheus format.
The application (run by Unit) queries the /status URI on the control socket and converts the JSON response into Prometheus text format. PHP and Python implementations are available.
These instructions assume an existing Unit installation with a working configuration. We will add a new listener on the default prometheus port (9090) and route it directly to the Prometheus app.
Step 0. Install the preferred Unit language module (unit-php or unit-python)
This tutorial guides you through the process of creating Templates and Virtual Machines on Proxmox using cloud-based images from various Linux distributions. We provide clear instructions for Alma Linux 9, Amazon Linux 2, CentOS 9, Fedora 38, Oracle Linux 9, RHEL 9, Rocky Linux 9, and Ubuntu 23.04 Lynx Lobster.
Note: The instructions have been tested on Proxmox 8.0.4.
Let's begin by choosing the cloud-based image. If you already have your preferred Linux distribution, skip to the 1st step.
To assist in making informed choices when selecting a Linux distribution for your virtual machines, we've compiled a table showcasing key characteristics of each cloud image. This table provides a snapshot of important attributes, including kernel version, Python version, number of processes initialized after boot, number of packages installed, free memory after boot, VM disk size, root partition disk size, used size on t
https://code-boxx.com/python-flask-resumable-upload/
- Run
unpack.bat(Windows)unpack.sh(Linux/Mac). This will automatically:- Create 4 folders -
static,temp,templates,upload - Move
S2_upload.cssandS2_upload.jsintostatic. - Move
S2_upload.htmlintotemplates. - Create a virtual environment -
virtualenv venv
- Create 4 folders -
- Activate the virtual environment -
venv\scripts\activate(Windows)venv/bin/activate(Mac/Linux)
| #!/usr/bin/env bash | |
| if [ "$EUID" -ne 0 ];then | |
| >&2 echo "This script requires root level access to run" | |
| exit 1 | |
| fi | |
| if [ -z "${WORDPRESS_DB_PASSWORD}" ]; then | |
| >&2 echo "WORDPRESS_DB_PASSWORD must be set" | |
| >&2 echo "Here is a random one that you can paste:" |
| <# | |
| Create Unix VM's. | |
| PREREQUISITES: | |
| - A VM that has been installed with an OS that supports cloud-init | |
| - cloud-init is installed on the vm | |
| How it works: | |
| - Asks for a bunch of parameters | |
| - Creates a disk from parent vhdx for speed |
In this guide I’ve tested a number of different commands and configurations using Docker to run a container with dhcpd (+macvlan driver) to serve my clients in my home network. In the end i’ll migrate from my Windows 2012 R2 Server running DHCP to a much more lightweight Docker container (7.42 MB in total). Wow.
- Firewall (Juniper)
- I’m running IP helper for bootp which in this case means that i relay DHCP requests from various VLANs into one where i've placed my Windows 2012 R2 server. This is also where my container will live. See the FW configuration below:
To play webcam using mplayer, we will need to use TV input but with v4l2 as driver,
$ mplayer tv:// -tv driver=v4l2
then it just plays with default values. We can add options to tweak such as width, height, output format, frame rate, select device…Each option is separated by a colon. For example, play webcam from /dev/video0, with widthxheight=1280×720, framerate=30, and output format is YUV (YUY2),