Skip to content

Instantly share code, notes, and snippets.

View cking's full-sized avatar
💻

Ch. König cking

💻
View GitHub Profile
.connecting,
.theme-dark .guild-header header,
section.flex-verticle.flexspacer,
.theme-dark .layer,
.theme-dark .guild-wrapper,
.theme-dark .channels-wrap, .theme-dark .guild-channels-wrapper,
.theme-dark .scroller.messages,
.theme-dark .messages-wrapper,
@cking
cking / mastodon-markdown.user.js
Last active September 25, 2017 14:29
Mastodon Markdown
// ==UserScript==
// @name Markdown
// @namespace Paars
// @author Kura
// @version 1.1.1
// @match *://niu.moe/web/*
// @require https://cdn.rawgit.com/chjj/marked/8f9d0b72/marked.min.js
// @run-at document-end
// @grant GM_addStyle
// ==/UserScript==
@cking
cking / di.updateclassnames.js
Created May 3, 2018 09:51
Uses `mkloubert.vs-script-commands` to update used class names.
const map = {
'accountBtn-yEZXoY': 'accountBtn-2Nozo3',
'accountBtnInner-3zsU2z': 'accountBtnInner-sj5jLs',
'accountDetails-15i-_e': 'accountDetails-3k9g4n',
'accountList-odI5wQ': 'accountList-33MS45',
'ack-11L6X8': 'ack-2yIUvY',
'acrobat-2ppl7l': 'acrobat-3K1PC6',
'action-2mLTX4': 'action-3NgST5',
'action-2yZV0l': 'action-aOgSpZ',
'actionAndParty-2Wug4I': 'actionAndParty-3DXneA',
@cking
cking / style.css
Last active May 6, 2018 19:22
Mastodon Headpats
.star-icon i {
display: none;
}
.favorite-button:before, .fa-star:before {
opacity: 0;
}
.favorite-button, .star-icon, .fa-star, .fa.icon-star {
background-image: url(https://cdn.niu.moe/custom_emojis/images/000/002/254/static/d9049b5f15505ddb.png);
background-size: 20px;
background-repeat: no-repeat;
@cking
cking / rewrites.user.js
Created June 13, 2018 07:42
Preview to full image rewrites
// ==UserScript==
// @name URL Rewrite
// @namespace Paars
// @match *://*/*
// @run-at document-start
// @grant none
// ==/UserScript==
const rewrites = [
{
@cking
cking / keybase.md
Created September 6, 2018 19:39
keybase.md

Keybase proof

I hereby claim:

  • I am cking on github.
  • I am kurabloodlust (https://keybase.io/kurabloodlust) on keybase.
  • I have a public key whose fingerprint is 0D83 FEB5 8C07 CC67 0699 84FB EE32 3D27 23E8 A2B0

To claim this, I am signing this object:

@cking
cking / owo.whats-th.is.user.js
Last active April 6, 2019 09:32
owo.whats-th.is.user.js
// ==UserScript==
// @name OwO, whats this :D
// @namespace http://tampermonkey.net/
// @version 0.2
// @description try to take over the world!
// @author Christopher König
// @include *
// @connect api.awau.moe
// @grant GM_registerMenuCommand
// @grant GM_setValue
@cking
cking / kbn.user.js
Created November 29, 2019 12:05
pleroma keyboard navigation
// ==UserScript==
// @name KBN
// @version 1
// @grant none
// @match https://fedi.z0ne.moe/*
// ==/UserScript==
function l() {
const args = Array.from(arguments)
@cking
cking / steamworkshopdownloader.user.js
Last active March 3, 2020 02:36
my edits for the steam workshop downloader
// ==UserScript==
// @author Sycam Inc (origionally Alvaro)
// @name Enhanced Steam Workshop Downloader
// @description Adds an extra button to download, supports collections and new workshop layout
// @include *steamcommunity.com/sharedfiles/filedetails/?id=*
// @include *steamcommunity.com/workshop/filedetails/?id=*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
// @grant GM_xmlhttpRequest
// @version 2.1
// @license MIT
@cking
cking / README.md
Last active July 10, 2020 14:43
FFXIV Launcher Updater for Lutris

Needs:

  • unzip (to extract the nupkg archive)
  • zenity (to show fancy progress bars)
  • curl (to do the actual web request)
  • jq (to parse the json returned by github api)
  • wrestool (provided by gnome-exe-thumbnailer and/or icoutils, to parse version info of local xiv launcher)
  • tr, sed (for parsing the output of wrestool)
  • mv, rm (to move files around)