Skip to content

Instantly share code, notes, and snippets.

@alexcastrodev
Created August 6, 2025 10:10
Show Gist options
  • Save alexcastrodev/49807c56223e69b9d64bb9b647f50f2f to your computer and use it in GitHub Desktop.
Save alexcastrodev/49807c56223e69b9d64bb9b647f50f2f to your computer and use it in GitHub Desktop.
Record a ASCII buffer
# Start record
script -q -c 'bundle exec rake parallel:spec' "tmp/rspec-$(git rev-parse --abbrev-ref HEAD)-$(date +%Y%m%d-%H%M%S).txt"
# Read with Color ( use tab for autocomplete )
less -R tmp/rspec-xxxx
# OR
script -q -c 'bundle exec rake parallel:spec' "tmp/rspec.txt"
less -R tmp/rspec.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment