Live coding recording and playback.
How it works:
- Run the record.sh script in the terminal window whose interactions you want to record. This
requires a version of
script
that supports the--timing
option. - When you're done recording, exit
script
's subshell and copy the.script
and.tm
files to your friendly neighborhood web server; don't forget to make them world-readable. You'll also need to placeindex.html
there, along withpikaday.js
andpikaday.css
, andterm.js
. - Edit
index.html
to add the new entry into the meaningfully namedV
. - Lather, rinse, repeat.
When you first install index.html
, you'll need to update URLBASE
appropriately for your
site, adjust minDate
, maxDate
, and yearRange
for your semester, and replace CPSC 231
with your course name.
John Aycock ([email protected])