Skip to content

Instantly share code, notes, and snippets.

View jdm's full-sized avatar

Josh Matthews jdm

View GitHub Profile
@iamgreaser
iamgreaser / thps-format-psx.md
Last active August 13, 2022 23:30
`*.psx` - Apocalypse / THPS / Spiderman / whatever model format

*.psx - Apocalypse / THPS / Spiderman / whatever model format

Documented by GreaseMonkey

Document version v2

I release this document into the public domain.

This information aims to cover the format used as per the PS1 and PC versions of THPS2.

@iamgreaser
iamgreaser / psxviewer.c
Created August 19, 2017 00:31
THPS2 model viewer - quick release 1
/*
THPS2 level viewer
quick release 1
by GreaseMonkey, 2017 - Public Domain
takes two args
first arg is the main model (e.g. skhan.psx, skhan_o.psx)
second arg is the texture lib (e.g. skhan_l.psx)
needs SDL2 and OpenGL
@quisquous
quisquous / gist:5167417
Last active December 14, 2015 23:39
How not to be scary (when teaching programming)
How not to be scary (when introducing programming)
A transcribed lightning talk given by Lyla Fischer at the PyCon 2013 Education Summit
What are people scared of? The main thing that people are scared of is that
they don't belong. The rest of my talk is mainly going to center on this one
point.
I'm going to let you take 15 seconds to think of stereotypes of programmers.
@bjhess
bjhess / pull_request_webhook.md
Created May 18, 2012 15:58
The way I had to add a github repo webhook for pull requests

This is more complex than necessary.

GitHub webhooks for a URL by default only fire on repo pushes. There appears to be no way in the web UI to set up webhooks for other events. And so we go to the API. I prefer to do this type of thing with Hurl.

{
  "name": "web",
 "active": true,
@fzzzy
fzzzy / irc.html
Created April 11, 2012 21:14
js irc client
<!DOCTYPE html>
<html>
<head><title>Test</title></head>
<style type="text/css">
dd {
margin-left: 0px;
margin-bottom: 1em;
}