Skip to content

Instantly share code, notes, and snippets.

View maximelafarie's full-sized avatar
🧠
I'm slow to respond.

Maxime Lafarie maximelafarie

🧠
I'm slow to respond.
View GitHub Profile
@maximelafarie
maximelafarie / LetsEncrypt_HTTPS_plex.MD
Created April 1, 2018 22:38 — forked from churro-s/LetsEncrypt_HTTPS_plex.MD
Setup Let's Encrypt certificate for use with Plex Media Server on Ubuntu
@maximelafarie
maximelafarie / outrunning_space_cheat.js
Created August 16, 2018 15:12
Outrunning space cheat
// Paste below script in dev console before pressing any key :)
//
// Play here: https://v6p9d9t4.ssl.hwcdn.net/html/1005038/index.html#0#%20PRESS%20ANY%20KEY%20TO%20START
//
window.addEventListener('popstate', function(e){
if (e.srcElement.location.hash.indexOf('X_o') !== -1 || e.srcElement.location.hash.indexOf('Y_o') !== -1) {
console.log('JUMP !');
var jump = new KeyboardEvent('keydown',{'keyCode':32,'which':32});
document.dispatchEvent(jump);