Skip to content

Instantly share code, notes, and snippets.

View cking's full-sized avatar
💻

Ch. König cking

💻
View GitHub Profile
@cking
cking / README.md
Last active December 20, 2023 21:14
PainScroll
@cking
cking / README.md
Created September 5, 2022 15:01
README

Source

Extension Project Description
AutoFac Common Dependency Injection on steroids
Destructurama Web Allow automatic censoring of POCO via attributes in Serilog
Edi.Captcha Web Session based captcha image generation and verification
EFCore.NamingConventions Infrastructure More db like naming conventions
Fluent.Net Common I18N and L10N via Mozillas fluent project
@cking
cking / universalis.user.js
Created December 1, 2021 22:45
universalis
// ==UserScript==
// @name Search get parameter - universalis.app
// @namespace Z0ne
// @match https://universalis.app/
// @grant none
// @version 1.0
// @author Kura
// @description Get a search term from a query get parameter
// ==/UserScript==
@cking
cking / rust.md
Last active February 17, 2021 22:05
my rust tools and libs

Rust

Tools

cargo-audit

Security audit of the Cargo.lock file. Checkts the audit database for any reported issues.

Warning: First run can be very slow, because it's building a copy of the crates.io database.

Example output console output

@cking
cking / Program.cs
Created November 3, 2020 14:09
D#+ with Qmmands and GenericHost
// <copyright file="Program.cs" company="z0ne">
// Copyright (c) z0ne. All rights reserved.
// </copyright>
namespace Maria
{
using System;
using System.Linq;
using CommandLine;
@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)
@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 / 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 / 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 = [
{