Skip to content

Instantly share code, notes, and snippets.

@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() {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/leaflet@1.9.4/dist/leaflet.css"/>
<style>
html,body{margin:0;height:100%;}
#container{display:flex;height:100%;}
@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::
@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)
--@module = true
local gui = require('gui')
local widgets = require('gui.widgets')
local INVISIBLE_FRAME = {
frame_pen=gui.CLEAR_PEN,
signature_pen=false,
}
@LouisGameDev
LouisGameDev / WSAPI5.cs
Created February 18, 2026 01:25
WSAPI5 API Demo
using System;
using System.IO;
using System.Speech;
using System.Speech.Synthesis;
using System.Speech.AudioFormat;
public class WSAPI5
{
public static void Main() {