Giter VIP home page Giter VIP logo

bupsummary's Introduction

Cyber cyber cyber... blockchain tacos are yummy

Why hello there ๐Ÿ‘‹

I'm Dan O'Day, a digital archaeologist that specializes in digital forensics and incident response (DFIR). You can learn more about me at https://4n68r.com

bupsummary's People

Contributors

4n68r avatar danzek avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

bupsummary's Issues

Make date/time format conform to ISO8601

I currently don't zero-pad dates/times to conform to ISO8601 format for dates/times which causes problems when I sort by date. Currently I use some sed-fu to work around this by fixing the dates like so:

$ cat output.csv | sed -r 's/([0-9]{4})\-([0-9])\-([0-9])/\1-0\2-\3/' |  sed -r 's/([0-9]{4})\-([0-9]{2})\-([0-9]),/\1-\2-0\3,/' > output_fixed_dates.csv

Then I fix the times like so:

$ cat output_fixed_dates.csv | sed -r 's/,([0-9])(:[0-9]{1,2}:[0-9]{1,2}),/,0\1\2,/' | sed -r 's/,([0-9]{2}:)([0-9]:)([0-9]{1,2}),/,\10\2\3,/' | sed -r 's/,([0-9]{2}:)([0-9]{2}:)([0-9]),/,\1\20\3,/' > output_fixed_dates_and_times.csv

You could certainly do it all in one command but I like iterative error checking / validation.

But this is trivial to fix in the code so I should do that rather than having to resort to such sed-fu.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.