I hereby claim:
- I am jespertheend on github.
- I am jespertheend (https://keybase.io/jespertheend) on keybase.
- I have a public key ASBPcJKwpCXRt4EnRlPxvXqpKVe9dbhsRCqgCgWIPp-npgo
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am jespertheend on github. | |
* I am jespertheend (https://keybase.io/jespertheend) on keybase. | |
* I have a public key whose fingerprint is 08D5 2434 E5E8 DD74 4902 6BC6 F59C 838F 6037 999F | |
To claim this, I am signing this object: |
#pragma once | |
// openvr.h | |
//========= Copyright Valve Corporation ============// | |
// Dynamically generated file. Do not modify this file directly. | |
#ifndef _OPENVR_API | |
#define _OPENVR_API | |
#include <stdint.h> |
I hereby claim:
To claim this, I am signing this object:
# taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/ | |
# generate server.pem with the following command: | |
# openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes | |
# run as follows: | |
# python simple-https-server.py | |
# then in your browser, visit: | |
# https://localhost:4443 | |
import BaseHTTPServer, SimpleHTTPServer | |
import ssl |
// ==UserScript== | |
// @name Scammer Spammer 2 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Visit https://zap424569-1.plesk06.zap-webspace.com/ in your browser to scam the spammer. | |
// @author Jesper van den Ende | |
// @match https://zap424569-1.plesk06.zap-webspace.com/ | |
// @grant none | |
// @downloadUrl https://gist.github.com/jespertheend/543f81b2119efcb51e913f946b27a7f6/raw/scammerspammer2.user.js | |
// @updateUrl https://gist.github.com/jespertheend/543f81b2119efcb51e913f946b27a7f6/raw/scammerspammer2.user.js |
(async function(){ | |
async function writeSound(cache, url){ | |
const el = document.createElement("div"); | |
document.body.appendChild(el); | |
el.style.background = "white"; | |
el.style.width = el.style.height = "100%"; | |
el.style.position = "absolute"; | |
el.style.zIndex = 1000; | |
el.textContent = "drag an audio file to this page"; | |
el.addEventListener("dragover", e => e.preventDefault()); |
#!/usr/bin/env -S deno run --allow-run --allow-read --allow-write --allow-net | |
/** | |
* @fileoverview Downloads the latest Linux Chromium development build from Googles servers and then runs it. | |
* When a build has already been downloaded, it first runs that version and then downloads a new version in the background. | |
* Only works on Linux. If you are using Windows or macOS you can get Nightly builds from https://www.google.com/chrome/canary/ | |
* | |
* ## Usage | |
* | |
* ``` |
// ==UserScript== | |
// @name WebSocket latency tester | |
// @namespace https://jespertheend.com/ | |
// @version 0.0.2 | |
// @description Simulate latency and intermittent connection drops on WebSockets. | |
// @author Jesper van den Ende | |
// @match *://*/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
import { mod, Vec2 } from "https://cdn.jsdelivr.net/npm/[email protected]/dist/renda.min.js"; | |
const RING_SEGMENTS = 36; | |
const RING_COUNT = 7; | |
// https://www.desmos.com/calculator/zpob0tj445 | |
/** | |
* Normalizes a Vec2 (between -1 and 1) and returns a byte (a value between 0 and 255) | |
* which can be used to turn it back into a Vec2 using {@linkcode byteToVec2d}. |