Skip to content

Instantly share code, notes, and snippets.

taking ursula's advice for a little while, be back soon enough!

Chloe Kudryavtsev 5paceToast

taking ursula's advice for a little while, be back soon enough!
Block or report user

Report or block 5paceToast

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
5paceToast /
Last active Mar 4, 2020
Useful plasma5 service menus

Some useful ServiceMenus for plasma5

A small collection, because reasons.


To apply these, place the .desktop file you're interested in in ~/.local/share/kservices5/ServiceMenus/, then run kbuildsycoca5 (failures are ok). For each of them, the binary in question (specified under TryExec=) must be in the systemwide $PATH. You can expand it in the plasma5 env files, or via PAM. Or just, you know, symlink it into /usr/local/bin.

Optionally, you can download/place a compliant icon into ~/.local/share/icons/.

5paceToast /
Created Jan 14, 2020
Useful MinIO policies

Some useful policies for MinIO

A small collection, because reasons.

User Policies

To apply these:

  1. Download the file.
  2. mcli admin policy add MYMINIO NAME NAME.json (replace MYMINIO with your configured instance and NAME with the filename).
  3. mcli admin policy set MYMINIO NAME user=USER (same as above, replace USER with the user you want to configure).
5paceToast / fedimg
Last active Jan 12, 2020
Fediverse (mastodon-api compatible) image and file status uploader
View fedimg
# deps: curl, mkdir(1p), jq
# return codes:
# 1: regular error, see stdout
# 2: media upload error
# 3: status post error
local app=${0:t}
usage() {
echo "$app [-a|-A <token>] [-i|-I <instance>] [-n] [-N <spoiler>] [-s <status>] -f <file>..."
5paceToast / big-pinafore-emojos.user.css
Last active Dec 21, 2019
Toast's UserCSS collection
View big-pinafore-emojos.user.css
/* ==UserStyle==
@name big-pinafore-emojos
@version 1.0.0
@description Makes pinafore emojos bigger.
@author Chloe Kudryavtsev
==/UserStyle== */
@-moz-document domain("") {
.inline-custom-emoji {
width: 2.8em;
5paceToast / news.peg
Last active Dec 19, 2019
View news.peg
Document <- DocPart+
DocPart <- VersionHeader ( AuthPart EOL )+
VersionHeader <- SectSep Version '(' Date ')' EndOfLine EndOfLine
AuthPart <- AuthorLine Item+
AuthorLine <- Author EOL
Author <- ASCII+ ('"' DomChar+ '"')? ASCII+ '<' Email '>'
Email <- Char+ '@' Domain
Domain <- DomChar+ ( PERIOD DomChar+ )+
5paceToast /
Created Dec 16, 2019
Gets .kpxe and .efi boot endpoints of, for use with dnsmasq.
cd "$(dirname $0)"
rm -f "$KPXE" "$UEFI" "$SHA2"
5paceToast / ibus-toggle
Last active Feb 13, 2018
Ibus toggler for wayland. Define IIM (like PATH, but with ';' as a separator) in your environment, and keybind your change-language key to this script.
View ibus-toggle
# set IIM like path, but with ;, and containing the list of IMs you want, in order
typeset -T IIM iim \;
local engine=$(ibus engine)
local cur=${iim[(i)$engine]}
local size=${#iim}

Keybase proof

I hereby claim:

  • I am 5pacetoast on github.
  • I am spacetoast ( on keybase.
  • I have a public key ASDbRhhW9-ZnjCBIA9Rxua_3BbkZzS7Hf1hPzsXF0r8OVgo

To claim this, I am signing this object:

5paceToast / th10.asl
Last active Aug 29, 2015
Touhou 10 Autosplitter
View th10.asl
int stageId1 : "th10.exe", 0x74C7C;
//int stageId2 : "th10.exe", 0x74C80;//stage id 2 bugged out once, stage 1 seems to still be fine.
int lives : "th10.exe", 0x74C70;
int power : "th10.exe", 0x74C48;
int score : "th10.exe", 0x74C44;
int stageFrames : "th10.exe", 0x74C88;
You can’t perform that action at this time.