Set up multiple simultaneous Wireguard tunnels that auto-connect on boot in Windows.
Install the Windows version of Wireguard and import the two tunnel .conf
files.
Set up multiple simultaneous Wireguard tunnels that auto-connect on boot in Windows.
Install the Windows version of Wireguard and import the two tunnel .conf
files.
The following setup can search the contents of 7000 .pdf
files in 0.08 seconds on an i7-1260P (less than 12 microseconds per PDF).
To do so, each .pdf
file is first converted to a .txt
file, which is stored next to the .pdf
. If necessary, OCR is performed. This process takes hours.
As soon as all .txt
files are created, they can be quickly searched with ripgrep
.
The solution is a bit hacky, but it's what I use at the moment. I'll probably benchmark it against ripgrep-all
in the future, and maybe switch to that.
#include <iostream> | |
#include <chrono> | |
using namespace std; | |
int main() | |
{ | |
chrono::steady_clock::time_point begin = chrono::steady_clock::now(); |