Status: Draft / architecture, from verified experiments.
Target compiler: Clang (verified against Clang 22.1.8 + clang-scan-deps
22.1.8, Fedora). GCC and MSVC are covered by the companion documents.
Backend: Ninja only.
Companion to: MODULES_REQUIREMENTS.md (the design and its rules) and
HEADER_UNIT_REQUIREMENTS.md (the declared-units addition). That first
document scoped Clang out (its §6, §14) on the claim that Clang "will not
self-name BMIs into a directory the way GCC does." This document records the
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Override default options. | |
| // { dg-do run } | |
| // { dg-options "-std=gnu++20 -fcoroutines -Wall -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -DAVX_TYPE=2 -DDPP_BUILD -DDPP_OS=Linux -DHAVE_VOICE -DNOMINMAX -I/home/agpotter/git/DPP/library/../mlspp/include -I/home/agpotter/git/DPP/library/../mlspp/lib/bytes/include -I/home/agpotter/git/DPP/library/../mlspp/lib/hpke/include -I/home/agpotter/git/DPP/library/../include -I/home/agpotter/git/DPP/library/../include/dpp -pthread " } | |
| // | |
| // filename: gcc/testsuite/g++.dg/coroutines/dpp-simple.C | |
| // run via: make -C gcc check-g++ RUNTESTFLAGS=dg.exp=dpp-simple.C | |
| // | |
| #include <thread> | |
| #include <iostream> | |
| #include <dpp/dpp.h> |
This is my approach for running NordVPN in a network namespace, and then running rtorrent in that netns.
I did this on Fedora 39 in November 2023.
You need to get the wireguard details that the NordVPN client uses to get the private key, local ip, and local port number. This post is helpful.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This example adds handling stylus input to the Custom Drawing example | |
| // from the GTK4 Getting Started. | |
| // See: https://docs.gtk.org/gtk4/getting_started.html#custom-drawing | |
| #include <gtkmm.h> | |
| #include <gdk/gdk.h> | |
| class MainWindow : public Gtk::ApplicationWindow | |
| { | |
| public: |
proof
I hereby claim:
- I am talisein on github.
- I am agpotter (https://keybase.io/agpotter) on keybase.
- I have a public key ASBQfkDQDQqZmjQ6V3nwhZSXZFfdsY8ryT2NM-fp8T3BhAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Compile with: | |
| * gcc `pkg-config --cflags --libs glib-2.0 gobject-2.0` gdate.c | |
| */ | |
| #include <glib-object.h> | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #define FOO_TYPE_BAR (foo_bar_get_type ()) | |
| G_DECLARE_FINAL_TYPE(FooBar, foo_bar, FOO, BAR, GObject) |