Skip to content

Instantly share code, notes, and snippets.

View palmerj's full-sized avatar

Jeremy Palmer palmerj

  • Toitū The Whenua Land Information New Zealand
  • Wellington, New Zealand
View GitHub Profile
@palmerj
palmerj / GSPA_CLI_DOCS.txt
Last active December 13, 2025 18:35
GSPA Assembler command line tool docs
GSPA Assembler
This is help synopses for the TI the TMS340 COFF macro assembler v6.10 used
to assemble source files into object code, with optional listing and
cross-reference output. This documentatin has been compiled from multiple
sources as I can't find the TMS340 Family Code-Generation Tools User's Guide
online (SPVU020).
Usuage:
@palmerj
palmerj / README.md
Last active April 5, 2024 06:55
Street Fighter II: Rainbow Edition Logo

Logo and Flyer for Street Fighter II: Rainbow Edition Logo

Mortal Kombat (Flyer, Boxart, Thumbnail, Logo) Images

  • Mortal Kombat
  • Mortal Kombat II
  • Mortal Kombat II Plus
  • Mortal Kombat Challenger Hack
  • Ultimate Mortal Kombat 3
  • Ultimate Mortal Kombat 3 Plus
@palmerj
palmerj / SSF2T_Images_Readme.md
Last active March 26, 2024 09:02
Super Street Fighter II X Grand Master Challenge (Boxart, Thumbnail, Flyer)

Super Street Fighter II X Grand Master Challenge (Boxart, Thumbnail, Flyer)

Cleaned up images for use in frontends.

Super Street Fighter II Turbo (Boxart, Thumbnail, Flyer)

@palmerj
palmerj / metal_hud.md
Created April 14, 2023 21:50
Metal Performance HUD - display FPS

Requires MacOS Venture >=13

Enable HUD

/bin/launchctl setenv MTL_HUD_ENABLED 1

Disable HUD:

/bin/launchctl setenv MTL_HUD_ENABLED 0

@palmerj
palmerj / pgtap.rb
Created January 19, 2023 12:47
PgTAP
class Pgtap < Formula
desc "Unit testing framework for PostgreSQL"
homepage "http://pgtap.org/"
url "https://api.pgxn.org/dist/pgtap/1.2.0/pgtap-1.2.0.zip"
sha256 "1b574735576f1cd8c6bbbfc91e0435cb067d7a09c4319d61826960aa3911d780"
revision 1
head "https://github.com/theory/pgtap.git"
bottle do
@palmerj
palmerj / mk2p.md
Last active December 16, 2025 05:25
MK2+ (Mortal Kombat 2 Plus beta II) Moves and Secrets

Player Moves

These are moves for MK2+ Beta II

Controls Key

Forward: F
Down: D
Back: B
Up: U

@palmerj
palmerj / M30.md
Last active November 16, 2024 19:54
8BitDo M30 2.4G Gamepad for Genesis Mini/Mega Drive Mini

Collection of FAQs and Configs for the 8BitDo M30 2.4G

image

Can I map the Dpad on this controller? Can I also map and swap the A/B/X/Y buttons on this controller?

Yes, you can when wired via USB. The default mode of the DPad on this controller is as left analogue stick. You can also:

  • LEFT + Select : set Dpad as left analogue stick.
  • Up + Select : reset Dpad.
  • Right + Select : set Dpad as right analogue stick.
<?xml version="1.0"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd" version="1.0.0">
<ows:ServiceIdentification>
<ows:Title>National Base Mapping Service (LINZ)</ows:Title>
<ows:Abstract>National Mapping Service provided by Land Information New Zealand</ows:Abstract>
<ows:ServiceType>OGC WMTS</ows:ServiceType>
<ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
<ows:Fees>There are no fees associated with data access via the web interface, API or Web Services.</ows:Fees>
<ows:AccessConstraints>LINZ Data Service Customers complete a self registration process where
they accept site terms. Access to the data is subject to the terms of
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map background-color="#2a383e" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">
<Style comp-op="color-dodge" filter-mode="first" name="gebco2019webmercator2">
<Rule>
<RasterSymbolizer default-color="rgba(0, 0, 0, 0)" default-mode="linear" scaling="bilinear">
<stop color="#222222" value="0" />
<stop color="#ebebeb" value="255" />
</RasterSymbolizer>