Skip to content

Instantly share code, notes, and snippets.

// base class GxEPD2_GFX can be used to pass references or pointers to the display instance as parameter, uses ~1.2k more code
// enable or disable GxEPD2_GFX base class
#define ENABLE_GxEPD2_GFX 0
#include <GxEPD2_BW.h>
#include <GxEPD2_3C.h>
#include <Fonts/FreeMonoBold9pt7b.h>
// RP2040 SS =10, SCL(SCK) =13, SDA(MOSI) =11 ,BUSY = 7, RST = 9, DC = 8 W
@tolik518
tolik518 / wiso-winter-2023.md
Last active November 30, 2023 08:35
wiso-winter-2023

Situation:
Sie sind Mitarbeiter der Ecotec GmbH. Die Ecotec GmbH ist ein IT-Dienstleistungsunternehmen in Erfurt.

Die folgenden Aufgaben beziehen sich auf dieses Unternehmen.

1. Aufgabe

Sabine Medstein hat sich nach erfolgreichem Abschluss ihrer Berufsausbildung zur Fachinformatikerin Anwendungsentwicklung bei der Ecotec GmbH beworben und soll zum 1. Oktober 2023 eingestellt werden. Bringen Sie die folgenden Schritte bei der Einstellung von Frau Medstein in die richtige Reihenfolge.

@tolik518
tolik518 / adapter3.md
Last active October 24, 2022 12:24 — forked from iracigt/adapter3.txt
Nintendo Wireless Adapter Specification v1.1 by denopqrihg

Nintendo Wireless Adapter Specification

1.1 (23th June 2005) by denopqrihg (denopqrihg@centrum.cz)

This document describes how a GBA program can communicate with a plugged-in Nintendo wireless adapter. This info is not 100% accurate, nor am I responsible for any damage it may do. I am only sharing my partial knowledge.

Some general info

The Nintendo Wireless Adapter is a device that presents more multiplayer features than the link cable. It uses a kind of server/client approach (broadcasting, connections etc.). It allows to send quite large amounts of data at once (most I've seen was 80 bytes), has built-in synchronisation and much more.
This document is only about two player link. At the moment, I have no info about how it works with mre players.

@tolik518
tolik518 / H5_moodle_quiz_solver.js
Last active October 18, 2023 12:42
Get solutions for H5P quizzes on moodle
let json = JSON.parse(H5PIntegration.contents[Object.keys(H5PIntegration.contents)].jsonContent);
function removeTrash(string) {
return string.replace(/<\/?[^>]+(>|$)/g, "").replace(/&nbsp;/g, "").replace(/\*/g, "▓")
}
if (json.questions !== undefined) {
if (json.questions[0].params === undefined) {
console.log(removeTrash(json.questions[0]));
} else {