Skip to content

Instantly share code, notes, and snippets.

View kdev's full-sized avatar
🏳️‍🌈

Konstantin W. kdev

🏳️‍🌈
View GitHub Profile
@kdev
kdev / public_key.gpg
Created January 26, 2022 20:57
publickey
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF+m8YwBEADF2Hr0XMQr+W/cp6E3A7xwxe+BQE0ib+VU07tx+wU+8LM3mt11
wYKED00yPqJapTJEp6m4th5w8pwSeH5vq7kz925vAenqGcVwtM0FSJ8xm+tibpiP
7cMHDCDFrwBYK73lGfStPe8v9cMnNnDt/b/Cu1d7sLATgJpAmaLispHojLxKldN1
NUp2qP/1/RO0ArRIsJQLg8WacSLzH+OcV9mf2TPPrY/s2lMuFXLYrBARtBOe6LW9
evGrHGdTluCJgCKdlGocnDfdfJlFXiYSlufkMOZHoP9KJIf4Ydfje+pg9e/kSMU9
sLiXOoKwpxW7HpOJqOVLxs7sdSk5Y7z6FYTINl859Q8qQ9OUNfVYhHkcIytIMaNY
QBLamV2Oiz+aXG1mHk/GUoPx2AEpeDzC7E8IFzIHVe/raEfVi5OwVHuzuGcTXnSR
51k4R2Q2cucyEbjXOtCyQjxPHsjvK5fXOIrFqZHh9Vq/Rpofy3pDhRasp+T6sZQt

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@kdev
kdev / Sale-DoNotShow.user.js
Last active May 4, 2021 11:32
Sale: Do not show
// ==UserScript==
// @name Sale: Do not show
// @version 1.1.1
// @description Entfernt alle Hinweise auf Rabatte und ähnliches!
// @author NiZi112 (bearbeitet von KokosnussDEV)
// @match https://www.leitstellenspiel.de/
// @match https://polizei.leitstellenspiel.de/
// @grant none
// ==/UserScript==
(function() {
@kdev
kdev / [LSS] Schneller Seitenwechsel.user.js
Last active May 5, 2021 15:09
[LSS] Schneller Seitenwechsel
// ==UserScript==
// @name Schneller Seitenwechsel (LSS <=> PLSS)
// @version 1.0
// @description Erlaubt den Wechsel vom LSS zum PLSS und vice versa mit Klick auf das Logo in der Navbar!
// @author NiZi112 (vereinfacht von KokosnussDEV)
// @supportURL https://forum.leitstellenspiel.de/index.php?thread/20909/
// @include /^https:\/\/((polizei|w{3})\.)?leitstellenspiel\.de\/?.*/
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// ==/UserScript==
@kdev
kdev / OpenMissionsNewTab.user.js
Created January 30, 2021 21:03
[LSS] OpenMissionsNewTab
// ==UserScript==
// @name OpenMissionsNewTab
// @version 1.0
// @description Opens every mission in a new tab
// @author KokosnussDEV
// @include /^https?:\/\/(?:w{3}\.)?(?:(policie\.)?operacni-stredisko\.cz|(politi\.)?alarmcentral-spil\.dk|(polizei\.)?leitstellenspiel\.de|(?:(police\.)?missionchief-australia|(police\.)?missionchief|(poliisi\.)?hatakeskuspeli|missionchief-japan|missionchief-korea|(politiet\.)?nodsentralspillet|(politie\.)?meldkamerspel|operador193|(policia\.)?jogo-operador112|jocdispecerat112|dispecerske-centrum|112-merkez|dyspetcher101-game)\.com|(police\.)?missionchief\.co\.uk|centro-de-mando\.es|centro-de-mando\.mx|(police\.)?operateur112\.fr|(polizia\.)?operatore112\.it|(policja\.)?operatorratunkowy\.pl|dispetcher112\.ru|(polis\.)?larmcentralen-spelet\.se)\/?$/
// ==/UserScript==
(function() {
'use strict';
************ : log created on : Tuesday July 07 2020 @ 20:53:32
00:00:00.000 : [sys] running on x86_64 / Windows 10 x64 (version 10.0)
00:00:00.000 : [sys] Command line: D:\Programme\TruckersMP Launcher\Launcher.exe
00:00:00.000 : [cpu] CPU0: AuthenticAMD [AMD FX(tm)-8320 Eight-Core Processor ] with 4 cores (8 threads) at ~3492MHz.
00:00:00.000 : [sys] using 3 worker thread(s)
00:00:00.001 : [sys] and 3 worker threads for IO.
00:00:00.001 : [sys] plus 3 real-time worker threads.
00:00:00.001 : [sys] using QPC / HPET timer, frequency 14318180Hz
00:00:00.001 : [mem] physical total: 16356M
00:00:00.001 : [mem] physical avail: 5592M
// define a Array
let array = ["String 1", "STRING 2", "String 3"];
// defining a new function named getRandomIndex
let getRandomIndex = array => {
// get a random number between 0 and 1 and * by the array lenght
let rand = Math.floor(Math.random() * array.length);
// let the index is the random number from above
let randIndex = array[rand];
@kdev
kdev / drive.ico
Last active July 16, 2019 09:30
SAP Drive Code
# include "Romi.h"
Romi robot;
void setup() {
robot.init();
Serial.begin(115200);
}