cleancut / headtail Goto Github PK
View Code? Open in Web Editor NEWhead and tail simultaneously
head and tail simultaneously
Operating systems often provide more efficient means of watching the events which happen with a file.
headtail
currently uses a polling approach, which means the thread is waking and executing code even when it doesn't need to.
We should modify the behavior of following mode to use OS file watchers when possible.
It would be good if someone (not me ๐) would figure out if this utility works on Windows, and if not -- can we make it work without too much trouble?
See the documentation for the CodeQL Action
BLOCKED until Rust is supported by CodeQL. See CodeQL's Supported languages & frameworks page.
See this reddit post for links to relevant info and lots of example migrations.
Though it is trivial to redirect stdout to a file, sometimes it is nice to be able to specify that file via a command-line argument and have the program do it itself.
Add integration tests covering:
-f/--follow
-s/--sleep-interval
We should add some benchmarks so that when we make changes we can do a before/after comparison. See criterion.
These benchmarks should not be run in CI, since CI is too noisy of an environment to be useful for benchmarking (unless we somehow gain dedicated self-hosted runners for the purpose)
We should add unit tests covering most of our logic, though we probably don't need any for the argument parsing giving it's a pretty straightforward usage of clap
.
This is a very interesting and useful utility. I believe it would be particularly helpful if some demarcation such as ...
or some other separating line (perhaps even colorizing it grey/dark grey) would be very helpful to rapidly differentiate the sections.
Additionally, having this in Homebrew (for macOS and Linux) so that cargo being present is not necessary.
For sure:
headtail
in actionheadtail
came about (problem that prompted it -> our DoL session).Maybe:
-h
output? (and automate updating it via release.toml
)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.