#include <iostream> | |
// Base class using CRTP | |
template <typename Derived> | |
class Base { | |
public: | |
void doSomething() { | |
static_cast<Derived*>(this)->implementation(); | |
} |
Learn how to convert TTF to WOFF using C#: https://blog.aspose.com/2022/03/15/convert-ttf-to-woff-using-csharp/
The following topics are covered in this article:
- C# TTF to WOFF Converter API
- Convert TTF to WOFF using C#
- Convert TTF to WOFF2 in C#
- RDMA Aware Networks Programming User Manual
- On the Impact of Cluster Configuration on RoCE Application Design
- RDMA over Commodity Ethernet at Scale
- Design Guidelines for High Performance RDMA Systems
- FaSST: Fast, Scalable and Simple Distributed Transactions with Two-sided (RDMA) Datagram RPCs
- RDMA [1]: A short history of remote DMA networking
- [Slide] RDMA Tutorial
- Understanding the concepts and mechanisms of RDMA
- [InfiniBand RDMA over PCI Express Networ
REM Delete eval folder with licence key and options.xml which contains a reference to it | |
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
for /d %%a in ("%USERPROFILE%\.%%I*") do ( | |
rd /s /q "%%a/config/eval" | |
del /q "%%a\config\options\other.xml" | |
) | |
) | |
REM Delete registry key and jetbrains folder (not sure if needet but however) | |
rmdir /s /q "%APPDATA%\JetBrains" |
Each running program has at least one thread which is occupied by its entry point. There can be many threads for a single program and the memory is shared among all threads. The objects possessed by the main thread (and shared by other threads as a reference to it) would be destroyed as soon as they go out of scope. This might lead to corrupt memory access by the rest of the threads.
Hence, sometimes, it's very important to make sure that all the threads are joined using std::thread::join()
before the main thread terminates. Other times, you basically want a daemon thread running in background even after the termination of main thread and that can be achieved by calling std::thread::detach()
, but it may or may not be possible to join a detachable thread.
Resource Acquisition Is Initialization (RAII) is a famous programming idiom in C++ (a misnomer actually) also (better) known and understood as **Scope-Bound Resource Managemen
mines ubuntu 20.04 based, WSL2 | |
in windows | |
wsl --list -v | |
* Ubuntu-20.04 Stopped 2 | |
in wsl | |
# the old update routine | |
sudo apt-get update -y | |
# add tools to build kernel, apologies if i missed anything as i already have a bunch of dev stuff setup | |
sudo apt-get install -y autoconf bison build-essential flex libelf-dev libncurses-dev libssl-dev libtool libudev-dev |
# !/usr/bin/env python3 | |
# coding=utf-8 | |
import sys | |
from qiling import * | |
from qiling.os.mapper import QlFsMappedObject | |
from qiling.const import QL_VERBOSE | |
base_address = 0x555555554000 |
#!/usr/bin/env python3 | |
# https://www.shielder.it/blog/2021/07/qilinglab-release/ | |
from qiling import Qiling | |
from qiling.const import QL_VERBOSE | |
from qiling.os.mapper import QlFsMappedObject | |
import struct | |
def u8(inp): | |
return struct.unpack("<Q", inp) |
//Sorting Class with 5 sorting algorithms that can sort arrays | |
//Compiled in Visual Studio 2013 but should work on any C++ compiler with a few tweaks. | |
//Incase you need som info on sorting algorithms | |
//https://en.wikipedia.org/wiki/Sorting_algorithm | |
// Algorithms in this class | |
// 1 Boubble Sort | |
// 2 Merge Sort | |
// 3 Selection Sort |