Giter Site home page Giter Site logo

loc's Introduction

👋ㅤI'm Sawyer!

I'm a high schooler who likes to code random things!

Full-stack web developer with experience in Node, Express, React, NextJS, Tailwind, tRPC, TypeScript, HTML, CSS, and Sass.

Top Languages

You can reach me on Discord @sawyer#1020 or via email [email protected]

loc's People

Contributors

sqwyer avatar

Stargazers

 avatar

Watchers

 avatar  avatar

loc's Issues

[Bug] Non UTF-8 file panics program.

[Bug] Non UTF-8 file panics program.

Whenever a non UTF-8 file is read the program panics and you are unable to get any output at all.

What should happen? The program should ignore the file if it contains non UTF-8 content and should continue reading all other UTF-8 files.

To Reproduce:

  1. Create a non UTF-8 file (ie. an executable file)
  2. Run loc . in the directory where the non UTF-8 file is located.

[Feature Req] Ignore dot files and other non source directories

[Feature Req] Ignore dot files and other non source directories

What should happen? Dot files (such as .gitignore), and other directories such as the .git, target, or node_modules directories should be ignored in loc read.

Example

# (File Structure)
- /
  |--/target/
    |--debug/
    |--release/
    |--.rust_info.json
    |--CACHEDIR.tag
  |--/src/
    |--main.rs
  |--.gitignore
loc . # should output "x lines of code accross 1 file(s)"

The only file from this directory that should be read is /src/main.rs as it is not in the /target/ directory, and is not a dot file like .gitignore.


React with 👍 or 👎

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.