Skip to content

Instantly share code, notes, and snippets.

View Rikj000's full-sized avatar
✌️

Rikj000

✌️
View GitHub Profile
@ls-dac-chartrand
ls-dac-chartrand / swagit.php
Last active October 30, 2025 13:24
Swag It: Reverse engineer Swagger-PHP annotations from an existing JSON payload
<?php
// -------------------------------------------------------------------------------------
// Add your JSON in the $input to generate Swagger-PHP annotation
// Inspired by: https://github.com/Roger13/SwagDefGen
// HOWTO:
// php -S localhost:8888 -t .
// http://localhost:8888/swagit.php
// -------------------------------------------------------------------------------------
@Cybergrany
Cybergrany / WeightedMultiParameterHyperOptLoss.py
Last active April 9, 2022 22:45
WeightedMultiparameterHyperOptLoss.py V 0.3
"""
WeightedMultiparameterHyperOptLoss.py V 0.3
-by Cybergrany
A loss function for Freqtrade's hyperopt feature, which allowes the user
to choose weights, which influence how much each parameter affects the objective.
For example, if I want quick trades and don't care too much about risk, I would
give more weight to trades and less to the sortino.
Most of the code here is based on existing freqtrade code, namely the sortino
function and max drawdown calculations. I've just added a way to incorporate
@robertkirkman
robertkirkman / .vkBasalt.conf
Last active January 26, 2024 05:26
Alternative player 1 on left player 2 on right solution (AKA "2PV", "SbS") using 3DToElse and vkBasalt. For any splitscreen game. Edit paths etc. to fit your needs
reshadeTexturePath = /home/tacokoneko/.local/share/reshade/Textures
reshadeIncludePath = /home/tacokoneko/.local/share/reshade/Shaders
3DToElse = /home/tacokoneko/.local/share/reshade/Shaders/3DToElse.fx
toggleKey = Home
effects = 3DToElse
@xrandox
xrandox / palworldlua.md
Last active August 4, 2025 14:40
Teh's Lua Modding in Palworld Tutorial

DISCLAIMER: I am not an expert on UE4SS or lua modding. In fact, Palworld is the first game I've done any UE4SS modding. I self-taught myself from the UE4 docs, discord convos and brute force. I might not always do things the best way. But I have made a handful of mods and I think I have at least a decent understanding of the basics and overall process, and that's what I'm going to try and cover in this guide.


Prologue | Ground Rules

Hi, so I'm Teh, as some of you might know me from Nexus, or also im.null on Discord.

Lets set some ground rules so you don't complain about me wasting your time:

  • This is a Lua-only tutorial. I will not be covering BPs, BP interoperability, asset swapping or anything of the like. This will be pure, untainted Lua 😎. Some concepts will definitely transfer over, but if you want BP stuff, this aint it
  • I'm not going to cover Lua basics, like syntax or
@ramonsmits
ramonsmits / HOWTO.md
Last active October 19, 2025 11:46
Install .NET 8 on Raspberry pi