Skip to content

Instantly share code, notes, and snippets.

View welcoMattic's full-sized avatar

Mathieu Santostefano welcoMattic

View GitHub Profile
@welcoMattic
welcoMattic / export.js
Last active January 2, 2024 09:28 — forked from HoLyVieR/gist:1616679
Gameplay - Export SAV file
// Getting the data //
var filename = "ROM_NAME";
var rawData = base64ToArray(findValue("B64_SRAM_" + filename)).map(function (a) { return String.fromCharCode(a); }).join("");
var tmpLink = document.createElement("a");
tmpLink.href = "data:application/force-download," + escape(rawData);
document.body.appendChild(tmpLink);
@welcoMattic
welcoMattic / macosx-install-php-oracle-oci8.md
Last active July 13, 2016 14:49 — forked from gido/macosx-install-php-oracle-oci8.md
install Oracle PHP Extension (oracle OCI8) - instantclient for Mac OS 10.8 - homebrew environnement

Installation

This procedure is tested on Mac OS X 10.8 with Developpers tools installed (xCode).

PHP 5.4 installed with Homebrew.

Update: I wrote a blog post about this.

Preparation

Download the following files from Oracle website (yes, you need to create an account and accept terms):

@welcoMattic
welcoMattic / README.md
Last active May 27, 2016 07:50 — forked from agnoster/README.md
welcomattic ZSH theme (fork from agnoster)

welcomattic.zsh-theme

Disclaimer : Heavily inspired from agnoster's theme - https://gist.github.com/3712874

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)