Git Product home page Git Product logo

langstats's Introduction

Hi ๐Ÿ‘‹, I'm Simon

I'm a passionate full-stack developer majoring in computer science at Cornell. I most often code up tracking, productivity, and analysis tools, but nearly any unique project idea is fair game!

  • ๐Ÿ”ญ Iโ€™m currently working on a cold emailing tool for students
  • ๐Ÿ“ I write articles on my blog
  • ๐Ÿ’ฌ Ask me about Svelte, Python, and Go
  • โšก Fun fact: I only read novels in Chinese

Tech Tools & Stats

Go Python TypeScript JavaScript LaTeX

Flask Vue.js Nuxt.js Svelte TailwindCSS

Postgres Git Digital Ocean Jekyll Postman

Wakatime Stats Stars Earned

Social

If you want to collaborate, have a project idea, or just feel like reaching out, my email address is simon (at) simonilincev (dot) com.

Shows a black logo in light color mode and a white one in dark color mode. ย  Shows a black logo in light color mode and a white one in dark color mode. ย  Shows a black logo in light color mode and a white one in dark color mode.

langstats's People

Contributors

destaq 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

Watchers

 avatar

langstats's Issues

Installation problem in Ubuntu 18.04

I am using Python version 3.7.
After I run the command it tried to install some modules but the build was unsuccessful.
Here's the output screen:

Obtaining file:///home/tuhin/Documents/language-statistics
Collecting pycairo>=1.19.1
  Downloading pycairo-1.19.1.tar.gz (205 kB)
     |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 205 kB 274 kB/s 
Collecting Pillow>=4.1.1
  Downloading Pillow-7.2.0-cp37-cp37m-manylinux1_x86_64.whl (2.2 MB)
     |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 2.2 MB 70 kB/s 
Collecting PyYAML>=5.3.1
  Downloading PyYAML-5.3.1.tar.gz (269 kB)
     |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 269 kB 54 kB/s 
Building wheels for collected packages: pycairo, PyYAML
  Building wheel for pycairo (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/tuhin/Documents/language-statistics/language_stats/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-30muir4u/pycairo/setup.py'"'"'; __file__='"'"'/tmp/pip-install-30muir4u/pycairo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ew3dg1mz
       cwd: /tmp/pip-install-30muir4u/pycairo/
  Complete output (15 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/cairo
  copying cairo/__init__.py -> build/lib.linux-x86_64-3.7/cairo
  copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.7/cairo
  copying cairo/py.typed -> build/lib.linux-x86_64-3.7/cairo
  running build_ext
  Package cairo was not found in the pkg-config search path.
  Perhaps you should add the directory containing `cairo.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'cairo' found
  Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for pycairo
  Running setup.py clean for pycairo
  Building wheel for PyYAML (setup.py) ... done
  Created wheel for PyYAML: filename=PyYAML-5.3.1-cp37-cp37m-linux_x86_64.whl size=44619 sha256=36e1a10260ce0d9f01264297916d6a237e6c6856f879d05606fcfdd4b368bc2a
  Stored in directory: /home/tuhin/.cache/pip/wheels/5e/03/1e/e1e954795d6f35dfc7b637fe2277bff021303bd9570ecea653
Successfully built PyYAML
Failed to build pycairo
Installing collected packages: pycairo, Pillow, PyYAML, language-statistics
    Running setup.py install for pycairo ... error
    ERROR: Command errored out with exit status 1:
     command: /home/tuhin/Documents/language-statistics/language_stats/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-30muir4u/pycairo/setup.py'"'"'; __file__='"'"'/tmp/pip-install-30muir4u/pycairo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-3rrl1kes/install-record.txt --single-version-externally-managed --compile --install-headers /home/tuhin/Documents/language-statistics/language_stats/include/site/python3.7/pycairo
         cwd: /tmp/pip-install-30muir4u/pycairo/
    Complete output (15 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/cairo
    copying cairo/__init__.py -> build/lib.linux-x86_64-3.7/cairo
    copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.7/cairo
    copying cairo/py.typed -> build/lib.linux-x86_64-3.7/cairo
    running build_ext
    Package cairo was not found in the pkg-config search path.
    Perhaps you should add the directory containing `cairo.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'cairo' found
    Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/tuhin/Documents/language-statistics/language_stats/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-30muir4u/pycairo/setup.py'"'"'; __file__='"'"'/tmp/pip-install-30muir4u/pycairo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-3rrl1kes/install-record.txt --single-version-externally-managed --compile --install-headers /home/tuhin/Documents/language-statistics/language_stats/include/site/python3.7/pycairo Check the logs for full command output.

For this reason, I failed to use the code, it would be better if you provide an easy way to use the code, just using Python filename.py --some args

Exclude directories?

Hey there ๐Ÿ‘‹

First off: this is pretty epic ngl. Works flawlessly, 9.99/10.

However, when I ran this inside my [Vue 3 and TypeScript] project folder, I was instead presented with:
output

Removing node_modules (i.e. where the project's dependencies are installed) gives me something closer to what I'd expected (because why would I be writing AppleScript??! What the heck is an OCaml??!!!):
output

Thus, I'm here to ask: is there an argument or some kind of config I can pass in to exclude certain directories? I didn't see anything in the README.

Edit: to be clear, I'm aware I can just slap a "NAH, BYE, IGNORE" on stuff like EJS and whatnot that I know I'm not writing, but I'm specifically looking to run this from the root of my project (and thus can't siphon off things like CSS, which are present in node_modules as well as the project's src/.

Cheers!
kayak

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.