Skip to content

Instantly share code, notes, and snippets.

View wizzardo's full-sized avatar

Mikhail Bobrutskov wizzardo

View GitHub Profile
@wizzardo
wizzardo / export_gltf.py
Created October 20, 2023 08:16
UnrealEngine. Export all project models to gltf
import unreal
import os
import time
assetPath = '/Game/'
outputDir = 'D:/models/glTFExport/'
exportOptions = unreal.GLTFExportOptions()
# exportOptions.texture_image_format=unreal.GLTFTextureImageFormat.PNG
# exportOptions.export_proxy_materials=True
selectedActors = set()
@wizzardo
wizzardo / Monitoring.java
Created August 26, 2017 20:05
simple monitoring, prints some stats every 10 seconds to System.out.
package ru.highloadcup;
import com.wizzardo.metrics.*;
import com.wizzardo.metrics.system.Utils;
import com.wizzardo.tools.cache.Cache;
import java.io.File;
import java.io.FileOutputStream;
import java.lang.management.*;
import java.nio.charset.StandardCharsets;
package com.wizzardo.benchmarks;
import org.openjdk.jmh.annotations.*;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
// Benchmark (n) Mode Cnt Score Error Units
// IterateArrayBenchmarks.test_lambda 1 avgt 5 5.626 ± 0.315 ns/op