Skip to content

Instantly share code, notes, and snippets.

View cking's full-sized avatar
💻

Ch. König cking

💻
View GitHub Profile
@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 / 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==
.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,
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 2345,
@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 / show counter.carbide.md
Last active September 7, 2016 12:17
show counter
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = tab
indent_size = tab
tab_width = 4
end_of_line = lf
charset = utf-8

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 03CE 24DA 7A3E E0F5 ACE2 1F5B 99F1 2AE8 CE08 8679

To claim this, I am signing this object:

Line
= _* cmd:Command pipes:(_* "|" _* Command)* redirect:(_* ">" _* Command)? _*
{ return { cmd, pipes: pipes? pipes.map(pipe => pipe[3]): null, redirect: redirect? redirect[3]: null } }
Command
= exe:Executable args:Arguments
{ return { exe, args } }
Executable
= ExecutableName ("/" ExecutableName)*