Skip to content

Instantly share code, notes, and snippets.

Avatar

Jesper van den Ende jespertheend

View GitHub Profile
View keybase_proof.txt
### 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:
View openvr_mingw.hpp
#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>
View keybase.md

Keybase proof

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:

@jespertheend
jespertheend / simple-https-server.py
Last active Sep 28, 2019 — forked from dergachev/simple-https-server.py
Fork from https://gist.github.com/dergachev/7028596 with one change that allows for sending POST requests. It basically handles them the same as GET requests and doesn't give an error anymore :)
View simple-https-server.py
# 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
@jespertheend
jespertheend / scammerspammer2.user.js
Last active Jul 30, 2019
Install Tampermonkey and click the raw button on this page to install. Then visit https://zap424569-1.plesk06.zap-webspace.com/ in your browser to scam the spammer.
View scammerspammer2.user.js
// ==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
@jespertheend
jespertheend / replaceWhatsappWebNotificationSound.js
Last active Jul 15, 2020
paste this in the browser console then drag an audio file to the page to replace the notification sound
View replaceWhatsappWebNotificationSound.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());