Skip to content

Instantly share code, notes, and snippets.

@ashfn
ashfn / gist:d58b57914e792453337ba1d2379c86a5
Created June 30, 2025 12:08
Password Generator (DON'T USE IN PROD! :) )
#include <bits/stdc++.h>
using namespace std;
//
// *Pass@!#4
// google
uint64_t xorshift64(uint64_t state){
state ^= state << 13;
#include <iostream>
#include <fstream>
#include <array>
#include <random>
// more specifically this will be mt19937
// constant f value used for 32 but mt19937
#define f 1812433253
import java.util.*;
public class LootDecider<T> {
private final List<LootItem<T>> lootItems;
private double totalPercentage;
public LootDecider() {
lootItems = new ArrayList<>();
totalPercentage = 0.0;
}