Skip to content

Instantly share code, notes, and snippets.

View pjetr's full-sized avatar

Peter Delvaux pjetr

View GitHub Profile
@pjetr
pjetr / Mortal-Kombat-II-moves_SNES.md
Last active July 26, 2022 18:01
Moves for Mortal Kombat 2 on Super Nintendo (SNES), found the list at https://www.gamefaqs.com/snes/588500-mortal-kombat-ii/faqs/5570 and converted it to markdown.

CONTROLS AND MOVES

SNES STANDARD CONTROLLER CONFIGURATION

  • Low Punch: B
  • High Punch: Y
  • Low Kick: A
  • High Kick: X
  • Block: L, R
  • Down: D
  • Up: U

e-pub fixer

When purchasing an e-book from bol.com you get an epub file that isn't valid. Because it isn't valid you can't upload it to play books. Luckily this is easily fixed.

howto

note
this is done on a mac, but would just as easily be done an linux. The steps

@pjetr
pjetr / keybase.io
Last active August 29, 2015 14:07
encrypted with keybase.io
-----BEGIN PGP MESSAGE-----
Version: Keybase OpenPGP v1.0.5
Comment: https://keybase.io/crypto
wcBMA2o3/2CyTYDyAQf6A8sBZn0yTB+K/GN6E9lLjHHkMjC8ncjwa+3PH1oEy0Uc
a6gcwBpSg4g885tdohk9zcocU6T/7yKXENL1RnWF8GggucRhmfCfgvtUZhrl4CWQ
fbwVgNd5SrZoXJKGJzd8GZcFEizTZZS2oPz7SkCzoValCe3VLh9urj0zZfN/RQ7i
DRoQN21WSc4IP5YZuGX3IAzLnhGHsczHmqifN2wTEcFTMeqAsgdlsb9IUDxZHnJm
HPG9DE+PauxLliHR2LwnJ+80pgxHe+T5FgqDvXaSVM9fSX7ptfVcX5G5I9AH357X
/HHfHklGcdECIIS4NvudhWXOU1XRIaIdIc+msVmeZdLA7wEkWEEHbZ6W2S5oDEN6
@pjetr
pjetr / keybase.md
Created September 30, 2014 11:43
keybase.md

Keybase proof

I hereby claim:

  • I am pjetr on github.
  • I am pjetr (https://keybase.io/pjetr) on keybase.
  • I have a public key whose fingerprint is C869 5377 FF5E FBBC 8A18 5837 1B3A 61DD D52E 8A08

To claim this, I am signing this object:

I'll let http://dicebot.intridea.com/ pick what artist I'm going to listen to.
1: the cure
2: led zeppelin
3: the who
4: Electric Light Orchestra
5: dIRE sTRAITS
6: Jimi Hendrix
7: The Rolling Stones
8: Eric Clapton
@pjetr
pjetr / gist:8299225
Last active January 2, 2016 11:49
BBC iPlayer full browser. create a bookmark in your browser with the following snippet as URL. Click this while watching to put the video full-browser.
javascript:(function()%7Bvar d%3Ddocument.createElement("div")%3Bd.innerHTML%3D"<style>body > *, #blq-container-inner > *, #blq-main > *, #bip-main > *, #blq-content > *, #emp-container > * {display: none !important;}html, body, #blq-container-outer, #blq-container, #blq-container-inner, #blq-main, #bip-main, #blq-content, #emp-container, #emp, #emp object {width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; display: block !important; margin:0 !important; padding: 0 !important; }</style>"%3Bdocument.body.appendChild(d)%7D)()%3B
@pjetr
pjetr / gist:8284653
Last active January 2, 2016 09:39
deredactie video speler full browser weergeven. Maak een nieuwe snelkoppeling aan in je browser, en geef deze snippet in als URL. Als je nu op deredactie een video opent uit de videozone speelt deze fullbrowser.
javascript:(function()%7Bvar d%3Ddocument.createElement("div")%3Bd.innerHTML%3D"<style>body>*, #shortcuts, #widget-vrtbalk-container, #container>*, #fullwidth .split16-8 > *, .colContainer > *{ display: none!important; } html, body, #containercontainer, #container, #fullwidth, #fullwidth .splitter:first-child, #fullwidth .splitter:first-child .first, #fullwidth .splitter:first-child .first .colContainer, #fullwidth .splitter:first-child .first .colContainer .list, .videoarticle, .media, .media div{ display: block !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; max-width: 100% !important; min-width: 100% !important; }</style>"%3Bdocument.body.appendChild(d)%7D)()%3B
@pjetr
pjetr / gist:6424911
Created September 3, 2013 14:45
enyo extending as suggested in the enyojs channel
enyo.kind({
name: "pjetr.Object",
kind: enyo.Object,
bubble: function(inEventName, inEvent, inSender){
console.log(arguments);
},
create: function(){
this.inherited(arguments);
enyo.mixin(this, new enyo.Component);
},