Skip to content

Instantly share code, notes, and snippets.

@Holt59
Holt59 / ModuleConfig.xml
Created June 10, 2020 17:16
Simply Stronger Dragons - ModuleConfig.xml
<?xml version="1.0" encoding="utf-8"?>
<config xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://qconsulting.ca/fo3/ModConfig5.0.xsd">
<moduleName>Simply Stronger Dragons</moduleName>
<installSteps order="Explicit">
<installStep name="Install">
<optionalFileGroups order="Explicit">
<group name="Health multiplier for generic enemy dragons" type="SelectExactlyOne">
<plugins order="Explicit">
<plugin name="1">
<description/>
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "root",
"style": "plain",
#include <memory>
#include <iostream>
#include <vector>
#include <pybind11/pybind11.h>
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
namespace py = pybind11;
@Holt59
Holt59 / demo.cpp
Created May 16, 2022 13:23
Unpacking C++ type in Python with Pybind11
#include <pybind11/pybind11.h>
namespace py = pybind11;
struct Size {
double width, height;
};
PYBIND11_MODULE(demo, m) {
py::class_<Size>(m, "Size")
#include <vector>
#include <iostream>
#include <pybind11/pybind11.h>
#include <pybind11/embed.h>
#include <pybind11/stl.h>
#include <pybind11/numpy.h>
struct FrameInfo
{
@Holt59
Holt59 / .log
Last active April 19, 2023 09:04
!SESSION 2023-04-19 10:10:37.901 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.6
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -data c:\Users\XXX\AppData\Roaming\Code\User\workspaceStorage\b3fd66ab6fb45615dcd26987ad859ee8\redhat.java\jdt_ws
!ENTRY org.eclipse.jdt.ls.core 1 0 2023-04-19 10:10:39.723
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started