Skip to content

Instantly share code, notes, and snippets.

View gingerbeardman's full-sized avatar

Matt Sephton gingerbeardman

View GitHub Profile
========== LBA[003590, 0x00e06]: PCE Warning msg & all stuff ==========
このプログラムの著作権は株式会社
ハドソンが所有しております。この
プログラムの一部または全部を株式
会社ハドソンの書面による許可なく
複写・複製・転用することは著作権
法により禁じられております。
PRODUCER
中本伸一
DIRECTOR
@gingerbeardman
gingerbeardman / verbum-1-3.ps
Last active July 10, 2019 20:01
PostScript listing from page 16 of VERBUM issue 1.3 (Fall 1987)
{inHard Disk: Full Polys}
{ps}
/TurnXYZ
{ ax /mat1 mat0 store mat1 rotate transform 3 -1 roll
ay /mat1 mat0 store mat1 rotate transform 3 -1 roll
az /mat1 mat0 store mat1 rotate transform 3 -1 roll
} def
/DrawFace
{ Vertex face 3 get get aload pop TurnXYZ pop moveto
@gingerbeardman
gingerbeardman / VNUM.TXT
Created July 12, 2019 13:00
File from PlayStation Demo 1
John Roberts presents:
The Version Number Game
This demo was brought to you by the version number 1.03.
[V1.02 changes]
- Removed random crash in basketball, Jules forgot to initialise a POLY_F4 (duh)
@gingerbeardman
gingerbeardman / gist:6602c8eb0c72e784a84f56649aa2b754
Created August 6, 2019 16:01
PageExtender mediafire script
[Debug] Polyglot: loaded (content.bundle.js, line 10)
[Info] Content blocker prevented frame displaying http://www.mediafire.com/file/ndbqb6n86yt91of/WipEout_HD_-_Fury_OST.rar/file from loading a resource from http://www.googletagservices.com/tag/js/gpt.js (file, line 157)
[Info] Content blocker prevented frame displaying http://www.mediafire.com/file/ndbqb6n86yt91of/WipEout_HD_-_Fury_OST.rar/file from loading a resource from https://www.googletagmanager.com/gtag/js?id=UA-829541-1
[Info] Content blocker prevented frame displaying http://www.mediafire.com/file/ndbqb6n86yt91of/WipEout_HD_-_Fury_OST.rar/file from loading a resource from https://www.googletagmanager.com/gtm.js?id=GTM-53LP4T (file, line 261)
[Debug] {keyCode: 0, modifiers: Object, instantTranslation: true} (content.bundle.js, line 10)
[Log] Injecting default.css (script.js, line 14)
[Log] Injecting default.js (script.js, line 14)
[Log] Injecting mediafire.com.js (script.js, line 14)
[Log] Injecting default.css (script.js, line 14)
[Log] Injecting
@gingerbeardman
gingerbeardman / Rhapsodii.ini
Last active February 24, 2020 13:37
WFL 5.4 tidy+trimmed 2019-02-24
[ABOUT/BG]
texture=vapor.png
[ABOUT/INFO]
color=#FFFFFFFF
effect_scale_x=1
effect_scale_y=-1
effect_x=0
effect_y=0
font_line_height=0
@gingerbeardman
gingerbeardman / change-git-commit-date.txt
Last active August 21, 2020 09:29
Change date of last git commit, useful for making historically accurate repo from Time Machine backup files
d=$(date -v20y -v8m -v20d -v00H -v45M -v39S);GIT_COMMITTER_DATE="$d" git commit --amend --no-edit --date "$d"
@gingerbeardman
gingerbeardman / time-machine-extract.sh
Last active August 21, 2020 09:42
Extract all versions of a file/folder from Time Machine backup
# adapted from https://apple.stackexchange.com/questions/230154/getting-all-versions-of-a-file-from-a-time-machine-backup/230392#230392
TARGET="/Volumes/External/Users/matt/Projects/TMextract/all_my_versions"
# create new folder
mkdir $TARGET
# change directory to your backups
cd /Volumes/Tardis/Backups.backupdb/matt
pwd
@gingerbeardman
gingerbeardman / epoch.sh
Created December 26, 2020 22:08
ia upload script for EPOCH toy instruction manuals
echo "identifier,file,description,subject,title,creator,mediatype,language" > epoch.csv
for file in *.pdf
do
# echo "Processing: $file"
id=`echo $file | awk '{print substr($0,1,5);exit}'`
en=`cat en.txt | grep $id`
trimmed_en=`echo "${en:8}"`
@gingerbeardman
gingerbeardman / History-of-DenebaCAD.md
Last active April 9, 2021 09:17
History of DenebaCAD

I just read a series of Facebook posts about the origins of DenebaCAD: https://www.facebook.com/page/226466162072375/search/?q=archidot

Created by INDI C.A. (Calle Madrid, Qta. El Pilar, Las Mercedes, Caracas, Venezuela):

  • 1988: MasterCAD (retail, Atari ST)
  • 1989: User'sCAD (beta, Macintosh)
  • 1991: ArchiDOT 2.0 (retail, Macintosh)
  • 1992: ArchiDOT 3.0 (retail, Macintosh)
  • 1995: ArchiDOT sent to various publishers
  • 1997: DenebaCAD (retail, Macintosh)
@gingerbeardman
gingerbeardman / to-anim.sh
Last active July 14, 2021 21:35
Convert an image table to an Animated GIF
#!/usr/bin/env bash
display_usage() {
echo "This script must be passed an image table PNG."
echo
echo "Usage: $0 image-table-32-32.png"
}
# if less than two arguments supplied, display usage
if [ $# -lt 1 ]
then