Skip to content

Instantly share code, notes, and snippets.

Avatar
🔭
Looking for work

Gwyndolyn Marchant GwyndolynMarchant

🔭
Looking for work
View GitHub Profile
@GwyndolynMarchant
GwyndolynMarchant / Async.gd
Last active Mar 7, 2022
Godot 3.4.3 - "Await" Function
View Async.gd
extends Node
signal done(result)
func _force_async(result):
yield(get_tree(), "idle_frame")
return result
func await(o: Object, n: String, p: Array = []):
var f = funcref(o, n);
View Iconize.bat
magick.exe convert %*^
-gravity center^
-background none^
\( -clone 0 -resize 256x256 -extent 256x256 \)^
-delete 0^
-colors 256^
-define icon:auto-resize^
out.ico
View native-emoji_mastodon.user.js
// ==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==
@GwyndolynMarchant
GwyndolynMarchant / ffmpeg_photosensitivity_anime
Last active Oct 21, 2021
FFMPEG - Photosensitivity Filter Tailored for Anime
View ffmpeg_photosensitivity_anime
ffmpeg -i Video.mkv -vf photosensitivity=71.94:3.2:1 Output.mkv
@GwyndolynMarchant
GwyndolynMarchant / fallenlondon_goodbuys.user.css
Created Sep 27, 2021
Userstyle: Fallen London - Good Buys
View fallenlondon_goodbuys.user.css
/* ==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 / README.md
Last active Sep 8, 2021
Userstyle: Fallen London - Gender Selector
View README.md

Fallen London - Gender Selector

Click here to install.

@GwyndolynMarchant
GwyndolynMarchant / bad-twitter-elements.ublock
Last active Sep 12, 2021
CSS Selectors for Parts of Twitter That I Hate
View bad-twitter-elements.ublock
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 / Watch-Something.md
Last active Aug 10, 2021
Powershell & VLC - Watch Something
View Watch-Something.md

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 / Fix-Font.ps1
Last active Apr 27, 2021
Powershell: Fix Font Family & Variant
View Fix-Font.ps1
# 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 / text-wide.sh
Last active Sep 10, 2020
Script to automate replacing text with w i d e text
View text-wide.sh
#!/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}"