Skip to content

Instantly share code, notes, and snippets.

View scruss's full-sized avatar
💭
🦆

Stewart Russell scruss

💭
🦆
View GitHub Profile
@scruss
scruss / PLOTPOURRI2-BRANDY.bas
Last active April 16, 2020 23:11
PLOTPOURRI for BBC Micro
10 REM ******************
20 REM * *
30 REM * PLOTPOURRI *
40 REM * S COTTRELL *
50 REM * SEPT 1979 *
60 REM * *
70 REM ******************
80 REM Washington Apple Pi Journal October 1979
90 REM bbc basic / matrix brandy port - scruss, 2019-07
100 MODE 1
@scruss
scruss / makermask-tc.txt
Last active March 31, 2020 15:47
makermask.com terms and conditions - as viewed March 31, 2020, 11:41:09 a.m. EDT
https://www.makermask.com/terms-and-conditions.html
Maker Mask & RPrime Terms and Conditions
Last updated: March 29, 2020
The following are terms and conditions (“Terms and Conditions”)
of a legal agreement between you and RPrime Foundation, a Washington
State non-profit corporation based in Seattle, Washington and its
affiliates (collectively, “RPrime”, “we”, “us” or “our”).
1MODE4:VDU23,224,24,48,96,193,131,6,12,24:VDU23,225,24,12,6,131,193,96,48,24
2PRINTCHR$(224.5+RND(1));:GOTO2
RUN
@scruss
scruss / taxman.bas
Created November 3, 2019 20:08
Taxman - 1973 PCC Basic game reformatted for 40 columns
100 REM TAXMAN - first published in People's Computer Company
104 REM vol. 2, no. 1 - September 1973
108 REM edited for 40 column screens - scruss, 2019-11
112 DIM l(50),t(10)
116 PRINT
120 PRINT
124 PRINT "Hi, I'm the taxman"
128 PRINT "Do you want the regulations?"
132 PRINT "(1=Yes, 0=No)";
136 INPUT r
1MODE4:VDU23,224,24,48,96,193,131,6,12,24:VDU23,225,24,12,6,131,193,96,48,24
2PRINTCHR$(224.5+RND(1));:GOTO2
@scruss
scruss / Classic2
Last active July 21, 2019 15:46
ejolson's classic basic big fibonacci modded for RISC OS BBC BASIC
10ON ERROR PRINT "LINE : " + STR$(ERL) + " ERROR : " + REPORT$ : END
100REM CLASSIC.BAS -- COMPUTE THE NTH FIBONACCI NUMBER
110REM WRITTEN DECEMBER 25, 2018 BY ERIC OLSON
120REM
130REM THIS PROGRAM DEMONSTRATES THE EXPRESSIVENESS OF THE ORIGINAL
140REM VERSIONS OF MICROSOFT BASIC AS MEASURED BY EXPLICITLY CODING
150REM KARATSUBA MULTIPLICATION FOR BIG-NUMBER ARITHMETIC AND THEN
160REM USING THE DOUBLING FORMULA
170REM
180REM F(2K) = F(K)[2F(K+1)-F(K)]
@scruss
scruss / plotpourri_bbc.bas
Last active July 9, 2019 14:48
PLOTPOURRI - Apple II BASIC graphics demo ported to BBC BASIC
1000 REM ******************
1010 REM * *
1020 REM * PLOTPOURRI *
1030 REM * S COTTRELL *
1040 REM * SEPT 1979 *
1050 REM * *
1060 REM ******************
1070 REM Washington Apple Pi Journal October 1979
1080 REM bbc basic / matrix brandy port - scruss, 2019-07
1090 MODE 1
@scruss
scruss / chamfer_extrude.scad
Created February 24, 2019 21:22
chamfer_extrude - OpenSCAD operator module to approximate chamfered/tapered extrusion of a 2D path
module chamfer_extrude(height = 2, angle = 10, center = false) {
/*
chamfer_extrude - OpenSCAD operator module to approximate
chamfered/tapered extrusion of a 2D path
(C) 2019-02, Stewart Russell (scruss) - CC-BY-SA
NOTE: generates _lots_ of facets, as many as
6 * path_points + 4 * $fn - 4
@scruss
scruss / uploading.csv
Created December 23, 2018 17:48
Sample Internet Archive command-line upload metadata CSV for old scanned computer manuals
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 17 columns, instead of 12. in line 3.
identifier,file,description,subject[0],subject[1],subject[2],subject[3],subject[4],subject[5],subject[6],subject[7],title,creator,date,collection,mediatype,language
Acorn409005MemoPlan,409005 - Memo Plan.pdf,User guide for the MemoPlan word processor for CP/M on the Acorn BBC Micro Z80 Second Processor.,acorn,z80,bbc,bbc_micro,manual,userguide,cp/m,wordprocessor,MemoPlan for the BBC Microcomputer with Z80 second processor,Acorn Computers Limited,1984,opensource,texts,eng
Acorn409006FilePlan,409006 - File Plan.pdf,User guide for the FilePlan database for CP/M on the Acorn BBC Micro Z80 Second Processor.,acorn,z80,bbc,bbc_micro,manual,userguide,cp/m,database,FilePlan for the BBC Microcomputer with Z80 second processor,Acorn Computers Limited,1984,opensource,texts,eng
Acorn409007GraphPlan,409007 - Graph Plan.pdf,User guide for the GraphPlan financial modelling package for CP/M on the Acorn BBC Micro Z80 Second Processor.,acorn,z80,bbc,bbc_micro,manual,userguide,cp/m,financial,GraphPlan for the BBC Microcomputer
@scruss
scruss / Neighbourhood_Buildings.geojson
Created November 26, 2018 03:52
ODB_Ontario, my neighbourhood buildings
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.