binary-parsing
nq
binary-parsing | nq | |
---|---|---|
5 | 18 | |
839 | 2,778 | |
- | - | |
5.7 | 2.5 | |
27 days ago | about 2 months ago | |
C | ||
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
binary-parsing
- Reverse-engineering an encrypted IoT protocol
-
GNU poke: The extensible editor for structured binary data
* binary-parsing - https://github.com/dloss/binary-parsing
-
Ask HN: What software do you use to examine binary files?
There are a few hex/disk editors that support "templates" (but you need most times to create those yourself).
Here is a sort of "curated list" of related tools:
https://github.com/dloss/binary-parsing
The most complete/populated I know of is Kaitai:
http://kaitai.io/
http://formats.kaitai.io/
that you can use with Hiew with Kiewtai
https://github.com/taviso/kiewtai
If the question is slightly different, i.e. which bytes are used to identify a given file format, there is Trid:
https://mark0.net/soft-trid-e.html
Which has also a database of known headers/patterns.
- A list of tools for parsing binary data structures
-
Fq: Jq for Binary Formats
Nice! Some other tools and parsers: https://github.com/dloss/binary-parsing
nq
-
Sharing resources by queuing jobs
If you want something quick and janky, I suggest nq. It's stupidly simple and lightweight; it just requires that everyone is running as the same user. And only lets exactly one job of any kind run in a given queue. There's basically zero configuration; just nq , and it'll either start running , or will wait its turn.
-
Looking for recommendations on my ssh tmux &| tee workflow
For your ad-hoc uses, I would introduce nq. It's an extremely lightweight queuing system, which gives you two things with minimal overhead:
-
Run script in background conditionally and killing background process it started
I'm already aware of alternatives which I will consider (at, nq, snooze, but I still want an accurate lightweight CLI stopwatch/timer app and the script otherwise works well--this is more of an exercise on understanding background processes and could be handy in other scripts. Or if the attempt is considdered hacky and ill-advised, I'm curious of an alternative implementation. I just feel nothing is more simple than a very lightweight C-based timer app that exits 0 after specified time has elapsed and don't want to run a cron job or even a while sleep 1 loop for a reminder (sleep isn't even a builtin...).
-
Fq: Jq for Binary Formats
Interesting project. Unfortunate that its name conflicts with one of nq’s executables (https://github.com/leahneukirchen/nq), but I’m not sure anything can be done about it.
-
Tool to queue tasks and add/remove them?
nq
- Nq – A simple Unix job queue system
What are some alternatives?
HexFiend - A fast and clever hex editor for macOS
pueue - :stars: Manage your shell commands.
fq - jq for binary formats - tool, language and decoders for working with binary and text formats
Kaitai Struct - Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
kaitai_struct_visualizer - Kaitai Struct: visualizer and hex viewer tool
notes - notes on the tools in my Unix/Linux toolbox, dotfiles, etc
ImHex - 🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
json-toolkit - "the best opensource converter I've found across the Internet" -- dene14
Rack - A modular Ruby web server interface.