cmake -S . -B build
cmake --build build-S selects the source directory.
If you use Windows Subsystem for Linux 2 (WSL2), you've probably noticed that USB devices do not automatically appear inside your Linux environment. That's by design: WSL2 runs in a lightweight VM, so direct hardware access works differently than it does on a native Linux machine.
The supported way to pass a USB device from Windows into WSL2 is with usbipd-win, a Windows tool that exposes USB devices to WSL over USB/IP.
This guide walks through the setup and shows how to attach, verify, and detach a USB device from WSL2.
This is a general reference for introducing artificial network latency on Linux when testing how a protocol behaves as latency increases.
The standard tool is tc with the netem qdisc.
tc netem.ifb device and applying netem there.⚠This gist will remain available for posterity, but be aware that Wordle no longer uses these dictionaries.⚠
Wordle is a web browser game that you can play at this link. You get 6 chances to guess a single 5 letter word and there is only 1 word per day.
This guide shows a clean way to use Git with:
All examples use placeholder names only. Replace them with your own hostnames, paths, usernames, and email addresses.
| #include <variant> | |
| #include <string> | |
| #include <iostream> | |
| #include <array> | |
| struct A { | |
| int a = 5; | |
| char b[100]; | |
| }; |
| MEMPTR, esoteric register of the ZiLOG Z80 CPU. | |
| by Boo-boo (first and draft English translation by Vladimir Kladov) | |
| As it is known, after the instruction BIT n,(HL) execution, bits 3 and 5 of the flag register become containing values that is not documented in the official documentation at all. Actually these bits are copied from the bits 11 and 13 of the internal register pair of Z80 CPU, which is used for 16-bit operations, and in most cases to handle addresses. This is usual practice for processors having 8-bits data bus working with 16-bits data. | |
| It is not known why and how these bits of the internal buffer register are copied to the flags register though. At least Sean Young in the "Undocumented Z80 Documented" refers to that phenomenon (http://www.myquest.nl/z80undocumented/) and a bit more info can be found in the Z80 description of another "nocash" project (http://www.work.de/nocash/zxdocs.htm) where such register pair is called as MEMPTR. Unfortunately until now attemts to crack the algorithm se |
| Dust. Facing Worlds. E2M1. Blood Gulch. You know these places |