Skip to content

Instantly share code, notes, and snippets.

@KrunoSaho
KrunoSaho / gist:0d6f6923c84ef01d21d36ee63fa1eb07
Created October 19, 2023 06:06
Totemancer for Last Epoch
<?xml version="1.0" encoding="utf-8"?>
<ItemFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<name>Totemancer</name>
<filterIcon>14</filterIcon>
<filterIconColor>8</filterIconColor>
<description />
<lastModifiedInVersion>0.9.2.7</lastModifiedInVersion>
<lootFilterVersion>0</lootFilterVersion>
<rules>
<Rule>
<?xml version="1.0" encoding="utf-8"?>
<ItemFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<name>Warlock</name>
<filterIcon>1</filterIcon>
<filterIconColor>7</filterIconColor>
<description />
<lastModifiedInVersion>1.0.0.1</lastModifiedInVersion>
<lootFilterVersion>2</lootFilterVersion>
<rules>
<Rule>
@KrunoSaho
KrunoSaho / vscodeGodotDebug.json
Created June 6, 2024 04:25
VSCode .NET Godot 4 Debug tasks.json, and launch.json
// Launch
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "godot",
@KrunoSaho
KrunoSaho / midpoint.rs
Last active January 15, 2025 08:34
Midpoint DIsplacement Method with the Diamond Step
use rand::Rng;
pub fn faster_midpoint_method<R: Rng>(
rng: &mut R,
data: &mut Vec<Vec<i32>>,
p0: (i32, i32),
p1: (i32, i32),
iters: usize
) {
let dy = p1.1 - p0.1;