Skip to content

Instantly share code, notes, and snippets.

View minisbett's full-sized avatar

mini minisbett

View GitHub Profile
@minisbett
minisbett / phfm_optimizer.py
Last active December 30, 2024 12:02
An optimizer for Pillar, Howa, Facon Technique and Master of all Trades
import argparse
def calculate_damage(dex, str, int, do_print, no_howa, no_falcon, no_moat):
if do_print: print("Attributes")
if do_print: print("--------------------")
if do_print: print(f"Total: {dex + int + str}")
if do_print: print(f"Dex: {dex} Int: {int} Str: {str}")
if do_print: print()
@minisbett
minisbett / setup.sh
Last active May 18, 2025 11:28
bancho.py v5.2.x install script
#
# Get user information
#
read -p "osu! API v1 key: " api_key
read -p "bancho.py fork (leave blank for main repo): " bpy_fork
bpy_fork=${bpy_fork:-osuakatsuki/bancho.py}
#
# Setup bancho.py
@minisbett
minisbett / osu.js
Last active July 10, 2024 13:03
funny osu rgb
//
// Every X ms the hue changes by 1, and after 360 it went through all colors once.
// Might not do any change with low values as the code couldnt keep up,
// see it more as a minimum time for it to change to the next hue.
//
SPEED = 1; // minimum 360ms for full cycle
@minisbett
minisbett / HoldTimes.cs
Created June 16, 2024 11:50
hold times
using Discord;
using Discord.Interactions;
using huisbot.Models.Osu;
using huisbot.Services;
using huisbot.Utilities;
using huisbot.Utilities.Discord;
using OsuParsers.Decoders;
using OsuParsers.Enums;
using OsuParsers.Enums.Replays;
using OsuParsers.Replays;