Every Nix derivation produces a Nix store output that has 3 things:
- Executables
- Libraries
- Data
Executables are always exported using the PATH environment variable. This is pretty much automatic.
| #include "lib.h" | |
| #include "../3rd/minhook/include/MinHook.h" | |
| #include "../3rd/minhook/src/buffer.c" | |
| #include "../3rd/minhook/src/hook.c" | |
| #include "../3rd/minhook/src/trampoline.c" | |
| #include "../3rd/minhook/src/hde/hde64.c" | |
| typedef void* (*fn_malloc)(size_t size); | |
| typedef void (*fn_free)(void* ptr); |
ngrok allows you to expose a web server running on your local machine to the internet.
| import crypto from "k6/crypto"; | |
| import encoding from "k6/encoding"; | |
| const algToHash = { | |
| HS256: "sha256", | |
| HS384: "sha384", | |
| HS512: "sha512" | |
| }; | |
| function sign(data, hashAlg, secret) { |