Skip to content

Instantly share code, notes, and snippets.

View GwyndolynMarchant's full-sized avatar
👔
Working

Gwyndolyn Marchant GwyndolynMarchant

👔
Working
View GitHub Profile
@GwyndolynMarchant
GwyndolynMarchant / Mastodon-image-cw-thin.user.css
Last active August 12, 2020 23:34
Userstyle: Mastodon - Thin Image CW
/* ==UserStyle==
@name Mastodon - Thin Image CW
@description Make the Sensitive Content warning on images a lot smaller to take up less space on the timeline.
@namespace shadenexus.com
@version 1.1.3
@homepageURL https://gist.github.com/GwyndolynMarchant/feeb96da3effd053f73168c799802c43
@author Gwyndolyn Marchant <gwyn@shadenexus.com> (https://gist.github.com/GwyndolynMarchant)
==/UserStyle== */
@-moz-document domain("slime.global"), domain("toomanycooks.social") {
@GwyndolynMarchant
GwyndolynMarchant / text-wide.sh
Last active September 10, 2020 01:08
Script to automate replacing text with w i d e text
#!/bin/bash
# Author: Gwyndolyn Marchant <gwyn@shadenexus.com>
#
# Bind this to a keyboard shortcut and it should (hopefully) replace selected text with a w i d e version
windowid=$(xdotool getwindowfocus)
text=`xsel -o | sed -e 's/\(.\)/\1 /g'`
xdotool windowactivate --sync "$windowid" key Delete && xdotool type " ${text}"
@GwyndolynMarchant
GwyndolynMarchant / Fallen London - Thin Stat Bars.md
Last active September 10, 2020 01:09
Thin stat bars for Fallen London

Userstyle: Fallen London - Thin Stat Bars

Makes the stat bars in the sidebar way thinner and overlays the text on top of the bars, making them compact and way easier to navigate through. It also recolours the new knowledge-based stats to have golden bars instead of blue.

Installation

If you have a userstyle manager like Stylus installed you should be able to just click here: Install This link provides auto-updating.

@GwyndolynMarchant
GwyndolynMarchant / Fix-Font.ps1
Last active April 27, 2021 22:37
Powershell: Fix Font Family & Variant
# Requirements
# - fonttools : https://github.com/fonttools/fonttools
Param (
[Parameter(Mandatory=$true)][string]$Path,
[Parameter(Mandatory=$true)][string]$OldFamily,
[Parameter(Mandatory=$true)][string]$NewFamily,
[string]$Variant
)
@GwyndolynMarchant
GwyndolynMarchant / Watch-Something.md
Last active August 10, 2021 02:02
Powershell & VLC - Watch Something

Watch Something!

A quick powershell script to grab shows from specified folders, randomize completely the order, and insert bumpers in between episodes.

Help?

Run Get-Help on the script!

@GwyndolynMarchant
GwyndolynMarchant / README.md
Last active September 8, 2021 23:00
Userstyle: Fallen London - Gender Selector

Fallen London - Gender Selector

Click here to install.

@GwyndolynMarchant
GwyndolynMarchant / bad-twitter-elements.ublock
Last active September 12, 2021 07:24
CSS Selectors for Parts of Twitter That I Hate
twitter.com##div[data-testid="sidebarColumn"] > div > div > div > div > div > div:nth-child(3)
twitter.com##div[data-testid="sidebarColumn"] > div > div > div > div > div > div:nth-child(4)
twitter.com##a[href^="/i/lists/"]
twitter.com##div[aria-label^="Timeline"] > div > div > div > div > h2
twitter.com##nav > a[href="/explore"]
@GwyndolynMarchant
GwyndolynMarchant / fallenlondon_goodbuys.user.css
Created September 27, 2021 03:46
Userstyle: Fallen London - Good Buys
/* ==UserStyle==
@name Fallen London - Good Buys
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Highlights what's worth buying in the bazaar, and tells you a better place to get other stuff
@author Gwyndolyn Marchant
==/UserStyle== */
@-moz-document regexp("https?://www.fallenlondon.com/bazaar") {
/*Merrigan's Exchange*/
@GwyndolynMarchant
GwyndolynMarchant / ffmpeg_photosensitivity_anime
Last active October 21, 2021 20:41
FFMPEG - Photosensitivity Filter Tailored for Anime
ffmpeg -i Video.mkv -vf photosensitivity=71.94:3.2:1 Output.mkv
@GwyndolynMarchant
GwyndolynMarchant / native-emoji_mastodon.user.js
Created December 12, 2021 23:47
Native Emoji on Mastodon
// ==UserScript==
// @name Native Emoji - Mastodon
// @namespace shadenexus
// @version 0.1
// @description Replace emoji images with glyphs
// @author Gwyndolyn Marchant
// @match slime.global
// @grant none
// ==/UserScript==