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 / mk2p.md
Last active April 22, 2024 03:43
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 / 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 / xbox_button_names.md
Last active February 22, 2024 14:43
Xbox Controller Button Names and Layout

Buttons

  • RSB == Right Stick Button
  • LSB == Left Stick Button
  • RB == Right Bumper
  • RT == Right Trigger
  • LB == Left Bumper
  • LT == Left Trigger
  • Y == Y Button (Top)
  • A == A Button (Bottom)
@palmerj
palmerj / rgb_bigtiff_cogs_notes.md
Last active August 16, 2023 17:33
Creating BigTiff COGS for raster RGB photos from a tile mosaic directory using GDAL

Creating a Cloud Optimised Geotiffs (COGs) for raster photo imagery

This process outlines the process for creating Cloud Optimised Geotiffs suitable for hosting in services such as AWS S3. COGs enables more efficient workflows use cases such as fast access from Functions as a Services (E.g AWS Lambda), or comsumption into client desktop GIS systems (e.g QGIS). For more details on COGs please see https://www.cogeo.org/in-depth.html

1. Create a mosaic

@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 / M30.md
Last active August 12, 2022 22:52
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.
@palmerj
palmerj / gist:e293b443def642431f05775aa4d7f640
Last active July 25, 2022 15:45
One liner to get AWS S3 IP address ranges for ap-southeast-2 (Sydney)
curl https://ip-ranges.amazonaws.com/ip-ranges.json | jq '.prefixes' | jq 'map(select(.region=="ap-southeast-2"))' | jq 'map(select(.service=="S3"))' | jq 'map(.ip_prefix)'