Skip to content

Instantly share code, notes, and snippets.

View GwyndolynMarchant's full-sized avatar

Gwyndolyn Marchant GwyndolynMarchant

View GitHub Profile
$json = cat post.json | ConvertFrom-Json;
$date = ([datetime]$json.publishedAt).ToString('yyyy-MM-dd');
$content = "";
$json.tags | % {
$content += "<meta property=`"article:tag`" content=`"$_`"/>`n";
}
$content += "`n*This post was originally made on [Cohost]($($json.singlePostPageUrl)).*`n`n";
@GwyndolynMarchant
GwyndolynMarchant / balatro mods howto.md
Created September 7, 2024 18:13
How to Install Balatro Modding
  1. Download Lovely: https://github.com/ethangreen-dev/lovely-injector/releases/download/v0.5.0-beta6/lovely-x86_64-pc-windows-msvc.zip
  2. Extract "version.dll" from that zip into the Balatro game directory. (Right click on Balatro in Steam, click Manage > Browse local files)
  3. It is quite possible Windows Defender will label version.dll as a virus as it is Love2D injector and thus could be used for arbitrary code execution. That's the point, lol. If this happens do the following: 3.1. Open Settings > Windows Security > Virus & threat protection 3.2. Under "Virus & threat protection settings" click "Manage Settings" 3.3. Scroll down to "Exclusions" and click "Add or remove exclusions" 3.4. Add an exclusion > Folder: Add your Balatro game folder. 3.5. Put version.dll back in the folder again.
  4. Download Steamodded: https://github.com/Steamopollys/Steamodded/archive/refs/heads/main.zip
  5. Open explorer and type "%AppData%/Balatro" into the address bar, then press enter
@GwyndolynMarchant
GwyndolynMarchant / qBittorrent-name-tagger.user.js
Last active May 27, 2024 04:28
Adds a button to the qBittorrent WebUI toolbar which: chops up torrent names and bubbles and colours their tags
// ==UserScript==
// @name qBittorrent WebUI Name Tagger
// @namespace http://shadenexus.com/
// @version 0.2
// @description Adds a button to the toolbar which: chops up torrent names and bubbles and colours their tags
// @author Gwyndolyn Marchant
// @match http://qb.your.intranet/
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Bandcamp Tags → Clipboard (for Mp3tag)
// @namespace http://shadenexus.com/
// @version 0.2
// @description Copy tags from a bandcamp album for pasting into Mp3tag. Click on the tags header.
// @author Gwyndolyn Marchant
// @match https://*.bandcamp.com/*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=bandcamp.com
// @grant none
// ==/UserScript==
@GwyndolynMarchant
GwyndolynMarchant / search-engines-plain-results.abp
Created June 30, 2023 17:26
Blocklist for search engine cruft
[Adblock Plus 2.0]
! Title: 🔍 Search Engines - Just the results
! Licence: CC0
! Version: 1
! Last modified: 30 Jun 2023
! Bing
www.bing.com###b_results .b_vidAns
www.bing.com##[aria-label="Additional Results"]
www.bing.com##.b_ans
/* ==UserStyle==
@name cohost tag reacts
@namespace shadenexus.com
@version 1.3
@description Does this - https://cohost.org/belarius/post/1618245-more-right
@author Gwyndolyn Marchant
@updateURL https://gist.github.com/GwyndolynMarchant/a2464936ae8c9a092dc96908d3fd795c/raw/cohost-tag-reacts.user.css
==/UserStyle== */
@-moz-document url-prefix("https://cohost.org/") {
@GwyndolynMarchant
GwyndolynMarchant / YourChronicle.gpl
Created April 22, 2023 03:29
GNU IMP Palette File - YourChronicle
GIMP Palette
#Palette Name: YourChronicle
#Description: Created by <a target="_blank" href="https://shadenexus.com">Gwyndolyn Marchant</a>.
#Colors: 21
255 255 255 White
235 235 235 Lighter Gray
225 225 225 Light Gray
211 212 211 Lightly Gray
194 194 194 Lightish Gray
150 150 150 Gray
@GwyndolynMarchant
GwyndolynMarchant / bandcamp-sold-out.txt
Last active March 3, 2023 23:18
uBlock Origin cosmetic filter for hiding sold out merch on bandcamp album pages
[Adblock Plus 2.0]
! Title: Bandcamp - Hide sold out items
! Expires: 30 days
! Licence: CC0
! Version: 2
! Last modified: 03 Mar 2023
bandcamp.com##.buyItem:has(.notable:has-text("Sold Out"))
bandcamp.com##.merch-grid-item:has(.sold-out)
@GwyndolynMarchant
GwyndolynMarchant / fl-single-item-slots.user.css
Last active December 5, 2022 17:09
Fallen London - Single-item slots smaller
/* ==UserStyle==
@name Fallen London - Single-item slots smaller
@namespace shadenexus.com
@version 1.0.0
@description Groups the single-item slots into two rows.
@author Gwyndolyn Marchant
@updateURL https://gist.githubusercontent.com/GwyndolynMarchant/09aab0652279bae6b2a8e4c6a49fd0f2/raw/fl-single-item-slots.user.css
==/UserStyle== */
@-moz-document regexp("https?://www.fallenlondon.com/possessions") {
@GwyndolynMarchant
GwyndolynMarchant / Jellyfin Subs - VCR OSD.md
Last active October 10, 2022 17:42
Jellyfin Subtitle Styling - VCR OSD

Re-styles the default subs on Jellyfin. Probably breaks a lot of specifically-styled subtitles because Jellyfin made the absurd choice to make all subtitle styles inline. Recommend baking in all complex subs.

Recommended font: https://puppy.cafe/@EeveeEuphoria/108427783946411284