Skip to content

Instantly share code, notes, and snippets.

View LouisGameDev's full-sized avatar

LouisGameDev LouisGameDev

View GitHub Profile
--@module = true
local gui = require('gui')
local widgets = require('gui.widgets')
local INVISIBLE_FRAME = {
frame_pen=gui.CLEAR_PEN,
signature_pen=false,
}
@LouisGameDev
LouisGameDev / jobmonitor.lua
Last active June 20, 2025 11:32
[DFHack][Lua] Dwarf Job Monitor Panel - Dwarf Activity/Job Heuristics Monitor
-- Dwarf Job Monitor - A floating resizable panel that shows dwarf job statistics
-- Author: Louis
-- Version: 1.0
local gui = require('gui')
local widgets = require('gui.widgets')
local utils = require('utils')
-- Main Screen Class
DwarfJobMonitor = defclass(DwarfJobMonitor, gui.ZScreen)
@LouisGameDev
LouisGameDev / always on top.ahk
Created May 14, 2025 04:44
Autohotkey Collection
#SingleInstance Force
;————————————————————————————————————————
; Press Pause to toggle AlwaysOnTop + red 3px border
;————————————————————————————————————————
global borderVisible := false
global G_hWnd := "" ; Stores the handle of the window being bordered
global G_BorderThickness := 3
global G_TimerInterval := 0 ; Update interval in milliseconds
Pause::
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>FL Median Income Map (Clickable Sidebar)</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"/>
<style>
html,body{margin:0;height:100%;}
#container{display:flex;height:100%;}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@LouisGameDev
LouisGameDev / ChatGPT Hide Old Conversation.user.js
Last active February 18, 2025 06:54
ChatGPT Hide Old Conversations For Page Performance (limit visible chats to a certain number)
// ==UserScript==
// @name ChatGPT Hide Old Conversation
// @version 2025-02-18
// @author Louis Hong
// @match *://*.chatgpt.com/c/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=chatgpt.com
// @grant none
// ==/UserScript==
(function() {
@LouisGameDev
LouisGameDev / RuneScape Font Theme For Discord.css
Last active March 2, 2025 02:39
RuneScape Font Theme For Discord
/* BetterDiscord RuneScape Font Theme by Dawncore*/
/*
Required Font Installs https://github.com/RuneStar/fonts
RUNESCAPE_0.TTF
RUNESCAPE_BOLD_0.TTF
RUNESCAPE-PLAIN-11.TTF
RUNESCAPE-PLAIN-12.TTF
RUNESCAPE-BOLD-12.TTF
*/
@LouisGameDev
LouisGameDev / osrs_themed_youtube_stylesheet.user.js
Last active January 27, 2025 09:28
YouTube OldSchool RuneScape Theme Stylesheet
// ==UserScript==
// @name OSRS Themed YouTube Stylesheet
// @version 1.0
// @author Dawncore/Louis
// @description Injects RuneScape fonts with size rounding on every webpage
// @match *://*.youtube.com/*
// @grant GM_addStyle
// ==/UserScript==
(function() {
@LouisGameDev
LouisGameDev / RuneScape Font.user.js
Last active February 27, 2025 11:11
RuneScape Font Changer For All Website
// ==UserScript==
// @name RuneScape Font 16px
// @version 1.1
// @author Dawncore/Louis Hong
// @description Injects RuneScape fonts and dynamically adjusts text-shadow based on page color
// @icon https://www.google.com/s2/favicons?sz=64&domain=runescape.com
// @match *://*/*
// @grant GM_addStyle
// ==/UserScript==
@LouisGameDev
LouisGameDev / WSAPI5.cs
Created April 24, 2024 05:58
A C# Runtime for WSAPI5, streams PCM byte array to stdout, reads commands using stdin
using System;
using System.IO;
using System.Speech;
using System.Speech.Synthesis;
using System.Speech.AudioFormat;
public class WSAPI5
{
public static void Main() {