Skip to content

Instantly share code, notes, and snippets.

View dorktoast's full-sized avatar

DorkToast dorktoast

View GitHub Profile
#!/usr/bin/env bash
# Busy Console emulator
# by dorktoast
# A script to make your linux terminal look active, busy, interesting, and cool.
# Busy split-screen terminal with faux prompt and ANSI scrolling region.
# Controls:
# Tab -> prompt (pause logs)
# \ -> prompt (keep logs running)
# G -> output a block of garbage data
#
/**
* Created by: Toast <sam@gib.games>
* https://github.com/dorktoast/
* MIT License: https://opensource.org/license/mit
*/
using UnityEngine;
using System;
namespace GIB
{
@dorktoast
dorktoast / Multitag.cs
Created March 13, 2024 01:53
Multi-Tag: A system for tagging objects with multiple tags in Unity
/**
* Copyright 2024 Sam Swicegood
* MultiTag.cs
* Created by: Toast <sam@gib.games>
* Created on: 3/11/2023
* Licensable under MIT
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
@dorktoast
dorktoast / MinimalEngine.py
Last active March 10, 2024 19:04
Could this be the smalled possible game engine?
# MinimalEngine
# Creates a block of pixels. If the game is running, refresh the pixels.
# It's up to you, the game creator, to creae the logic that decides what pixels to draw.
# Good luck.
import pygame
import sys
# Initialize Pygame
pygame.init()
@dorktoast
dorktoast / DowntimeActions.gs
Created October 9, 2023 02:12
Dark Skylines: Downtime Responses Apps Script
// Downtime Automation Manager (DowntimeActions.gs)
//
// Made for Dark Skylines LARP
// Sam Swicegood (6/1/2023)
//
// License data can be found at the bottom of this script.
// ===== Initialization =====
var ss = SpreadsheetApp.getActive();
var ui = SpreadsheetApp.getUi();
@dorktoast
dorktoast / CaliburnStatus.cs
Created October 6, 2023 11:27
Caliburn Status snippet
namespace LarpBot.Commands
{
public class LarpCommands : ApplicationCommandModule
{
// ...
[SlashCommand("Caliburn", "Get info about Caliburn Island's current status.")]
public async Task GetCaliburn(InteractionContext ctx)
{
// ===== Weather =====
@dorktoast
dorktoast / AdobeKiller.bat
Last active January 7, 2026 11:15
AdobeKiller - kill lingering processes
: Adobe has a tendency to leave a lot of processes running for no reason. Run this BAT file and it will take care of them.
: Best to run as Administrator, because Adobe runs some of its processes as administrator.
: This BAT is updated regularly, because Adobe regularly changes its process names.
echo off
title Adobe Killer
echo You are about to terminate all Adobe processes and services. Please close all Adobe programs before proceeding.
pause
setlocal enabledelayedexpansion
@dorktoast
dorktoast / CharListImportDebug.txt
Last active June 28, 2025 21:56
DSCharacterListhvidosnfa
[{"SheetType":"BNS.V.4.1","vrcName":"DorkToast","Id":"999-10","Char_Name":"Darius Marcus","Title":"","Archetype":"Judge","Sect":"Camarilla","Clan":"Ventrue","Age":"8","Physical":"7","PhysFocus":"Stamina","Social":"5","SocFocus":"Wits","Mental":"13","MentFocus":"Manipulation","Academics":"0","Animal_Ken":"0","Athletics":"0","Awareness":"2","Brawl":"0","Computers":"0","Crafts":"0","Dodge":"4","Drive":"0","Empathy":"0","Firearms":"3","Intimidation":"3","Investigation":"1","Leadership":"2","Linguistics":"0","Lore":"1","Medicine":"0","Melee":"0","Occult":"0","Performance":"0","Science":"0","Security":"1","Stealth":"2","Streetwise":"1","Subterfuge":"1","Survival":"2","Status":"Acknowledged$Confirmed$Established$Privileged","BackgroundsnShort":"","Disciplines":"Presence 5$Fortitude 5$Dominate 5$Celerity 3$","Healthy":"5","Injured":"5","Incapacitated":"5","Willpower":"5","Blood":"15","FirearmsPool":"16","RangedThrown":"7","BrawlPool":"7","MeleePool":"7","Defense":"11","DefenseCelerity":"11","Initiative":"13","InitCel
@dorktoast
dorktoast / code.gs
Created June 1, 2023 06:40
Send a Discord message via Apps Script
function PostDiscordMessage(message) {
// Target Data
var discordUrl = 'https://discord.com/api/webhooks/YOUR_WEBHOOK_URL';
// replace pings with appropriate IDs
message = message.ToString().replace("@SomeRole","<@&976180323052294245>");
var payload = JSON.stringify({content: message});
var params = {
DorkToast
Local Player 1
Monzill82
Gengarmatey
Justikar
science4hemp@
Gil
Sleep
Star
DSWI