Skip to content

Instantly share code, notes, and snippets.

To reproduce on Windows:
1. Install and enable this mod: https://mods.factorio.com/mod/item-cam-2
> factorio.exe --create temp-save.zip
0.002 2026-05-19 14:21:53; Factorio 2.0.76 (build 84451, win64, steam, space-age)
0.003 Operating system: Windows 11 (build 26200)
0.004 Program arguments: "B:\SteamLibrary\steamapps\common\Factorio\bin\x64\factorio.exe" "--create" "temp-save.zip"
0.004 Config path: C:/Users/Olipro/AppData/Roaming/Factorio/config/config.ini
0.004 Read data path: B:/SteamLibrary/steamapps/common/Factorio/data
0.004 Write data path: C:/Users/Olipro/AppData/Roaming/Factorio [31153/482203MB]
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <fstream>
#include <iostream>
#include <ranges>
#include <unordered_set>
#include <vector>
#include <utility>
#include <algorithm>
#include <chrono>
#include <cstdint>
#include <fstream>
#include <iostream>
#include <ranges>
#include <string>
#include <type_traits>
#include <vector>
#include <algorithm>
#include <array>
#include <chrono>
#include <cstdint>
#include <fstream>
#include <iostream>
#include <mdspan>
#include <ranges>
#include <string>
#include <type_traits>
// JSON (JavaScript Object Notation) is a common format for exchanging data
// between different computers or programs. See: https://json.org/
// The data types in JSON are number, string, object, and array, which
// correspond very neatly to MiniScript's number, string, map, and list.
//
// This module provides code to read and write data in JSON format, as well
// as a couple of utility functions for escaping/unescaping strings and
// converting numbers to/from hexadecimal.
JSON = {}
__scope = function()
// JSON (JavaScript Object Notation) is a common format for exchanging data
// between different computers or programs. See: https://json.org/
// The data types in JSON are number, string, object, and array, which
// correspond very neatly to MiniScript's number, string, map, and list.
//
// This module provides code to read and write data in JSON format, as well
// as a couple of utility functions for escaping/unescaping strings and
// converting numbers to/from hexadecimal.
JSON = {}
__scope = function()
struct S {
virtual void test(const int&) const && noexcept;
};
olipro@Gentoo /usr/src/linux.git [3.8.y-nftables|rebase] ● % g rebase --continue
Applying: netfilter: pass hook ops to hookfn
Applying: netfilter: nf_nat: move alloc_null_binding to nf_nat_core.c
Applying: netfilter: nf_tables
Using index info to reconstruct a base tree...
M net/bridge/Makefile
M net/netfilter/Kconfig
Falling back to patching base and 3-way merge...
Auto-merging net/netfilter/Kconfig
Auto-merging net/bridge/Makefile