Requirements [1]:
- CMake >=3.13.4
- GCC >=7.1.0
- Python >=3.6 (automated test suite)
- zlib >=1.2.3.4
- GNU Make >=3.79
#!/usr/bin/env perl | |
# | |
# Cat file to terminal at particular speed of lines per second | |
# https://superuser.com/a/526249 | |
# | |
# Usage: cat-lps.pl [lps] [file]... | |
# | |
use warnings; | |
use strict; |
-- Hexdump the input data using the same style as 'hexdump -C'. | |
-- Supports Lua 5.1 and above. | |
-- Credit: http://lua-users.org/wiki/HexDump | |
function hexdump(data) | |
if type(data) ~= "string" then | |
return nil, "expected string type, but given " .. type(data) | |
end | |
local pieces = {} | |
local i = 1 |
# <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
# Explain why this change is being made | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# Provide links or keys to any relevant tickets, articles or other resources | |
# Example: Github issue #23 |
/*- | |
* SPDX-License-Identifier: MIT | |
* | |
* Copyright (c) 2022-2023 Aaron LI | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining | |
* a copy of this software and associated documentation files (the | |
* "Software"), to deal in the Software without restriction, including | |
* without limitation the rights to use, copy, modify, merge, publish, | |
* distribute, sublicense, and/or sell copies of the Software, and to |