Skip to content

Instantly share code, notes, and snippets.

View leinelissen's full-sized avatar

Lei Nelissen leinelissen

View GitHub Profile
@leinelissen
leinelissen / barcode.d.ts
Created May 16, 2023 12:09
A Typescript definition for the Barcode Detection API
// This is necessary because Typescript refuses to import the file unless it has
// an export apparently. 🥲
export {};
declare global {
/**
* The possible types of barcode format that can be detected using the
* Barcode Detection API. This list may change in the future.
* Adapted from: https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Detection_API
*/
@leinelissen
leinelissen / en.json
Last active November 2, 2020 22:40
English language strings for Jellyfin Player
{
"play-next": "Play Next",
"play-album": "Play Album",
"queue": "Queue",
"add-to-queue": "Add to Queue",
"clear-queue": "Clear Queue",
"no-results": "No results...",
"album": "Album",
"albums": "Albums",
"all-albums": "All Albums",
//(c) Loe Feijs and TU/e 2019-2020 Digital Craftmanship
//Translate your name in a series of zeros and ones
//The code is like ASCII but now 'A' begins at 1
//Using the function, we can make a punched-tape
//We use five bits and exceptionally take ' 'to be 00000
//Lower case is converted to upper case
import processing.pdf.*;
void setup() {
#include <Arduino.h>
#include "Adafruit_SGP30.h"
#include "OOCSI.h"
#define REED_PIN 2
// use this if you want the OOCSI-ESP library to manage the connection to the Wifi
// SSID of your Wifi network, the library currently does not support WPA2 Enterprise networks
const char* ssid = "***";
// Password of your Wifi network.