Giter Club home page Giter Club logo

linec's Introduction

Hi I'm qiufeng 👋

I'm a three years working full stack engineer who enjoys building wheels and playing with some fun stuff.

Blogger, Lifelong learner.

Technology Stack

Languages

JavaScript TypeScript ObjectiveC Markdown

Technologies

HTML5 CSS3 Bootstrap TailwindCSS Ant Design Node.js npm Electron

SvelteVue.js React

OpenGL WebGL

Babel Webpack Webpack

MongoDB MySQL Redis

Tools

Xcode Visual Studio Code docker docker

Figma Photoshop

linec's People

Contributors

hua1995116 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

linec's Issues

Suggestion: count line of comment

提个建议啊,你的 code 里面是不是包含了所有非空行的部分?
是否能再对这一部分进行拆分,统计注释的行数。

这里是别人的一个统计程序,但是UI确实不好看,而且种类没有你的全。
image

Bug: Crash on startup

Just run linec and then

C:\Users\qin-nz\AppData\Roaming\npm\node_modules\linec\lib\linec.js:196
    var colorMax = [maxLine[0].yellow, ('' + maxLine[1]).yellow, ('' + maxLine[2]).yellow, ('' + maxLine[3]).yellow];
                           ^

TypeError: Cannot read property '0' of undefined
    at hanldeTable (C:\Users\qin-nz\AppData\Roaming\npm\node_modules\linec\lib\linec.js:196:28)
    at linec (C:\Users\qin-nz\AppData\Roaming\npm\node_modules\linec\lib\linec.js:363:21)
    at Object.<anonymous> (C:\Users\qin-nz\AppData\Roaming\npm\node_modules\linec\lib\index.js:7:1)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
    at internal/main/run_main_module.js:18:47

Bug: can't find './src/static/template.html'

使用 npm 安装后,使用 linec -o,报错

internal/fs/utils.js:230
    throw err;
    ^

Error: ENOENT: no such file or directory, open './src/static/template.html'
    at Object.openSync (fs.js:457:3)
    at Object.readFileSync (fs.js:359:35)
    at outputHtml (C:\Users\dy\AppData\Roaming\npm\node_modules\linec\lib\linec.js:348:23)
    at linec (C:\Users\dy\AppData\Roaming\npm\node_modules\linec\lib\linec.js:366:18)
    at Object.<anonymous> (C:\Users\dy\AppData\Roaming\npm\node_modules\linec\lib\index.js:7:1)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: './src/static/template.html'
}

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.