Skip to content

Instantly share code, notes, and snippets.

View igniuss's full-sized avatar
🦴
Basically ded

Sean L. igniuss

🦴
Basically ded
View GitHub Profile
@igniuss
igniuss / cleanup.mjs
Created January 31, 2024 12:33
Cleans out empty folders & dangling meta files (Unity3D)
#!/usr/bin/env zx
/*
@ Use at your own risk -- Sean Lavaerts
HOW TO USE:
this uses zx (https://google.github.io/zx/getting-started)
essentially 'run javascript as a bash script'
but you could also just, run this as normal js under node/deno/what-ever you want,
you'd just need to hardcode the path.
@igniuss
igniuss / steam_crawler.js
Created December 27, 2018 22:30
Returns a json file with all steam games played over 2 hours.
/*
Instructions:
Head to https://steamcommunity.com/id/{your_steam_id}/games/?tab=all
Execute this script in console
*/
var games = document.getElementsByClassName("gameListRow");
var result = []
-- This mod goes into %appdata%/../locallow/copybugpaste/homebrew14/Lua/ModLua
-- Created by Igniuss#6852
-- Toggles *ALL* UI with the press of a button (F5 to be specific)
local mod = {}
function mod:Start()
self.enabled = true
self.scalers = {}
local c = GameObject.FindObjectsOfType(Canvas)
@igniuss
igniuss / HBGUIExample.lua
Created September 4, 2017 22:47
Example for Homebrew Lua code for GUI
local imgui = {}
function main(go)
imgui.gameObject = go
return imgui
end
function imgui:Start()
self.window = {
id = 1338,
rect = Rect(15,200,200,1), --x,y,width,height
@igniuss
igniuss / MessageType.cs
Created July 12, 2017 07:34
Simple example of array accessor using enums
public class MessageType {
public string[] array;
public enum MessageEnum {
Shutdown = 0,
Reboot = 1,
Softlock = 2
}
public string this[MessageEnum val] {
get {
return array[(int)val];