Skip to content

Instantly share code, notes, and snippets.

View griffi-gh's full-sized avatar
⬇️
not doing great rn :<

Lunyaaa~ griffi-gh

⬇️
not doing great rn :<
View GitHub Profile
using. /Verse.org/SceneGraph
_mesh_editor_only_component<public> := class<final_super>(component):
OnAddedToScene<override>(): void =
if (Mesh := Entity.GetComponent[mesh_component]). Mesh.Disable();
using. /Verse.org/SpatialMath
(InVector: vector3).Untransform<public>(Transform: transform)<computes><reads>: vector3 =
((InVector - Transform.Translation) * Transform.Rotation.Invert()) / Transform.Scale;
extend_callback<public>(t0: type, t1: type) := class<computes>:
Value<public>: t0;
Callback<public>: type { _(:t0, :t1): void };
Output<public>(Arg1: t1): void = Callback(Value, Arg1);
using. /Verse.org
using. /Verse.org/Native
using. /Verse.org/SceneGraph
using. /Verse.org/Simulation
tickable<public> := interface() {
var Cancelable_PreTick<private>: ?cancelable = false;
var Cancelable_PostTick<private>: ?cancelable = false;
OnBeginSimulation<public>(Component: component):void =
@griffi-gh
griffi-gh / UEFN-GetTickEvents.verse
Last active November 16, 2025 15:31
Adds utility function to get `TickEvents` outside of `Component`
using. /Verse.org/Simulation
using. /Verse.org/Native
using. /Verse.org/SceneGraph
_dummy_component := class<final_super><unique>(component):
GetTickEvents_Internal<internal>(Component: component)<reads>: tick_events = Component.TickEvents;
(InComponent: component).GetTickEvents<public>()<transacts>: tick_events :=
Dummy := _dummy_component. Entity := InComponent.Entity;
Dummy.GetTickEvents_Internal(InComponent)
@griffi-gh
griffi-gh / UEFN-SceneEventPolyfill.verse
Last active November 16, 2025 15:31
Non-experimental pure-verse reimplementation of Verse `scene_event` for Fortnite/UEFN
using. /Verse.org/SceneGraph
# An event which can be sent through the scene graph.
_scene_event<public> := interface() {}
_on_receive<public> := interface() {
# Respond to an event being propagated through the scene graph.
# Returns if the event is consumed, in which case the event will not be passed to the next entity, depending on how the event is being sent through the hierarchy.
_OnReceive<public>(Event: _scene_event): logic = false;
}
@griffi-gh
griffi-gh / galaxy-watch-app-dump.nu
Last active December 25, 2025 22:33
galaxy-watch-app-dump.nu
#!/usr/bin/env nu
let sdb = $"($env.HOME)/tizen-studio/tools/sdb"
def sdb-is-connected [] {
(^$sdb shell whoami) | str contains "owner"
}
def sdb-list-apps [] {
(^$sdb shell ls /opt/usr/globalapps -1) | lines
@griffi-gh
griffi-gh / theme-wsb-dark.user.css
Last active March 25, 2025 10:40
wsb-dark.css
/* ==UserStyle==
@name WSB Merito Extranet/Moodle Dark Theme
@author griffi-gh
@version 11.2.1
@license MIT
@namespace griffi-gh-wsb
@var color moodleSheetBg "Moodle Sheet Background" #131213
@var color moodleSheetFg "Moodle Sheet Foreground" #201e20
@var color moodleSheetFgNested "Moodle Nested Sheet Foreground" #2b2b2b
@var color moodleDarkActive "Moodle Dark Active" #333

$argon2id$v=19$m=512,t=256,p=1$nCI3CxUsIUTBWuuYcY4vVA$SD58MTiKJVeV0XUulg0F1u0T0N5ugzbFQETuqSdrNkQ

// ==UserScript==
// @name Naurok Bypass v2: Extras
// @description Companion userscript for naurok bypass; Contains unstable and unfinished features and enhancements for the Testing pages.
// @author griffi-gh
// @namespace griffi-gh
// @match https://naurok.com.ua/test/testing/*
// @grant none
// @grant GM_addStyle
// @version 0.3
// @run-at document-idle