Skip to content

Instantly share code, notes, and snippets.

View abraxas86's full-sized avatar

Abra abraxas86

View GitHub Profile
@abraxas86
abraxas86 / GridviewHelpers.vb
Created March 12, 2024 19:29
VB.NET codebehind to fix GridView Tables so the header row is in a proper <thead> section instead of <tbody>
Public Class GvHelpers
''' <summary>
''' ASP automatically throws &lt;th&gt; cells in a &lt;tbody&gt; grouping making it tricky to target specific areas of tables
''' with CSS and Javascript. This method is used to break the first row of the provded gridview into a proper &lt;thead&gt; section.
''' It is recommended that you call this method on RowCreated to ensure the header is kept separate as the user modifies/browses the table,
''' otherwise things like flipping between pages would cause the header to get sandwiched back in a &lt;tbody&gt; grouping.
''' </summary>
''' <param name="gridView">The gridview to separate the header from</param>
''' <remarks>
''' Example:
@abraxas86
abraxas86 / itchPaidToggler..user.js
Created October 16, 2023 03:58
Itch.io paid content toggler
// ==UserScript==
// @name Itch.io Toggle paid games
// @namespace http://tampermonkey.net/
// @version 1
// @description Hide/Show non-free games from various itch.io pages.
// @author abraxas86
// @match https://itch.io/*
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @icon https://www.google.com/s2/favicons?sz=64&domain=itch.io
// @grant none
@abraxas86
abraxas86 / BotB_battle_timestamper.user.js
Last active August 30, 2023 05:27
BotB Timestamp From Countdown
// ==UserScript==
// @name BotB Battle Timestamper
// @namespace https://battleofthebits.com/barracks/Profile/Abraxas86/
// @version 2
// @description Adds timestamp for event because trying to mental math times is too much for my stupid monke brain
// @author abraxas86
// @match https://battleofthebits.com/arena/Battle/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=battleofthebits.com
// @grant none
// ==/UserScript==
@abraxas86
abraxas86 / itchIoCollectionToCsv.user.js
Last active June 13, 2024 04:02
Export collecitons on itch.io as csv files
// ==UserScript==
// @name Itch Collection CSV Exporter
// @namespace https://github.com/abraxas86/tampermonkey-scripts/blob/main/itch.io/
// @version 3.5
// @description Scroll down to the bottom of your collection, click the button, get CSV of your collection!
// @author Abraxas86
// @match https://itch.io/c/*
// @match https://itch.io/my-purchases
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @require https://raw.githubusercontent.com/eligrey/FileSaver.js/master/src/FileSaver.js