fanfank / timecat Goto Github PK
View Code? Open in Web Editor NEWA powerful tool for binary searching log files.
Home Page: http://blog.reetsee.com/archives/502
License: MIT License
A powerful tool for binary searching log files.
Home Page: http://blog.reetsee.com/archives/502
License: MIT License
timecat fails in the following situation:
timecat -s '2016-10-16 11:00:02' -e '2800-10-16 11:00:00' x.log
The following is the x.log(no new line at the end of file!):
2016-10-16 11:00:00 this is record 0
2016-10-16 11:00:01 this is record 1
2016-10-16 11:00:21 this is record 2
2016-10-16 11:03:02 this is record 3
2016-10-16 11:03:05 this is record 4
2016-10-16 11:05:01 this is record 5
2016-10-16 11:06:10 this is record 6
2016-10-16 12:15:30 this is record 7
2016-10-16 12:30:35 this is record 8
2016-10-16 20:18:06 this is record 9
2016-10-16 21:00:00 this is record 10
2016-10-16 23:59:59 this is record 11
2016-10-17 00:00:00 this is record 12
2016-10-17 01:50:10 this is record 13
2016-10-17 08:31:34 this is record 14
2016-10-18 17:10:10 this is record 15
2016-10-18 18:20:50 this is record 16
2016-10-19 03:15:40 this is record 17
2016-10-19 03:15:40 this is record 18
2016-10-20 10:00:00 this is record 19
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.