Skip to content

Instantly share code, notes, and snippets.

View notpeter's full-sized avatar

Peter Tripp notpeter

View GitHub Profile
# Simple `pdxinfo` file for Playdate game development.
# Place inside your `source` directory next to your main.lua
name=Reverse Game
author=Author Name
description=This is the best game ever
bundleID=com.example.reverse
version=0.1-beta3
buildNumber=123
# These are relative to the `source` directory
imagePath=images/menu
@notpeter
notpeter / halloween_zed_logo.svg
Created October 30, 2024 18:35
Zed Logo with Feet
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@notpeter
notpeter / Default (OSX).sublime-keymap.json
Last active November 19, 2024 17:00
Default (OSX).sublime-keymap
/*
On OS X, basic text manipulations (left, right, command+left, etc) make use of the system key bindings,
and don't need to be repeated here. Anything listed here will take precedence, however.
*/
[
{ "keys": ["super+shift+n"], "command": "new_window" },
{ "keys": ["super+shift+w"], "command": "close_window" },
{ "keys": ["super+alt+shift+n"], "command": "new_os_tab" },
{ "keys": ["ctrl+alt+tab"], "command": "next_os_tab" },
{ "keys": ["ctrl+alt+shift+tab"], "command": "prev_os_tab" },
@notpeter
notpeter / Default (Linux).sublime-keymap.json
Created November 19, 2024 17:01
Default (Linux).sublime-keymap
[
{ "keys": ["ctrl+q"], "command": "exit" },
{ "keys": ["ctrl+shift+n"], "command": "new_window" },
{ "keys": ["ctrl+shift+w"], "command": "close_window" },
{ "keys": ["open"], "command": "prompt_open_file" },
{ "keys": ["ctrl+o"], "command": "prompt_open_file" },
{ "keys": ["ctrl+shift+t"], "command": "reopen_last_file", "args": {"source": "window"} },
{ "keys": ["alt+o"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "hh", "h", "ipp", "inl", "m", "mm"]} },
{ "keys": ["alt+shift+o"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "hh", "h", "ipp", "inl", "m", "mm"], "side_by_side": true} },
@notpeter
notpeter / gha_azure_runner_size.yml
Created March 12, 2025 16:31
gha_azure_runner_size.yml
# Find the Azure hardware of your GitHub Hosted runners
# This assumes an organization runner called `windows-2025-64` update accordingly.
#
# Ouptput looks like:
# Run Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -Uri "http://169.254.169.254/metadata/instance/compute?api-version=2023-07-01" |
# {
# "vm_size": "Standard_D16ads_v5",
# "location": "eastus",
# "os_disk_gb": 600,
# "rs_disk_gb": 749.5