Skip to content

Instantly share code, notes, and snippets.

View olee's full-sized avatar
🏠
Working from home

Björn Zeutzheim olee

🏠
Working from home
View GitHub Profile
@olee
olee / $README.md
Last active November 24, 2023 09:16
Build setup for pg_bm25 using dagger ci

Either use dagger ci tool to run the full build toolchain or run the scripts step by step (with the correct environment variables set)

// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var styleEl = document.getElementById('css-layout-hack');
if (styleEl) {
styleEl.remove();
return;
}
styleEl = document.createElement('style');
styleEl.id = 'css-layout-hack';
@olee
olee / WebGlVideoProcessor.ts
Created April 17, 2021 00:49
remotion advanced video renderer
import { continueRender, delayRender, RemotionVideoProps } from 'remotion';
import { GlslVarType, setUniform } from './glUtils';
export interface VideoShaderOptions {
variables?: {
type: GlslVarType;
name: string;
}[];
}
@olee
olee / HyperboleServer.ts
Last active June 7, 2021 17:01
Deno hyperbole server (workshop)
export interface HyperboleRequest {
url: URL;
body?: unknown;
method: string;
pathname: string;
}
async function hyperboleRequest(request: Request): Promise<HyperboleRequest> {
const decoder = new TextDecoder();
const url = new URL(request.url);
{
"version": 3,
"file": "main.js",
"sources": [
"webpack://webpack-issue-12814/./node_modules/ansi-html/index.js",
"webpack://webpack-issue-12814/./node_modules/events/events.js",
"webpack://webpack-issue-12814/./node_modules/html-entities/lib/html4-entities.js",
"webpack://webpack-issue-12814/./node_modules/html-entities/lib/html5-entities.js",
"webpack://webpack-issue-12814/./node_modules/html-entities/lib/index.js",
"webpack://webpack-issue-12814/./node_modules/html-entities/lib/surrogate-pairs.js",
@olee
olee / index.d.ts
Created December 20, 2016 23:22
react-router@v4/index.d.ts
import * as React from "react";
interface Location {
pathname: string;
query?: any;
state?: any;
}
interface RenderProps {
pattern: string;
@olee
olee / tslint.json
Created September 18, 2016 17:42
tslint.json config for FE scripting
{
"rules": {
"class-name": true,
"comment-format": [true, "check-space"],
"curly": false,
"eofline": true,
"forin": false,
"indent": [false, "tabs"],
"label-position": true,
"label-undefined": true,
@olee
olee / BdoLvS.md
Created April 15, 2016 13:20
BdoLvS.md

BdoLvS

Vorlesung 1

  1. Einführung

  • 1.1 Begriffe
---- Minecraft Crash Report ----
// I feel sad now :(
Time: 01.07.15 18:58
Description: Exception while updating neighbours
java.lang.NullPointerException: Exception while updating neighbours
at net.minecraft.block.BlockPortal.func_149695_a(SourceFile:158)
at net.minecraft.world.World.func_147460_e(World.java:697)
at net.minecraft.world.World.func_147459_d(World.java:652)
// ==UserScript==
// @name cookieclicker
// @namespace de.olee.cookieclicker
// @include http://orteil.dashnet.org/cookieclicker/
// @version 1
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==/UserScript==
function update() {