Giter Club home page Giter Club logo

cli's People

Contributors

blockchainian avatar chenpengcheng avatar codingbunny22 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

Watchers

 avatar  avatar  avatar

cli's Issues

LeetCode

Create lists, add/remove problems to/from a list.

python3 not supported yet

After installation, running leetcode-cli would give the following error.

Traceback (most recent call last):
File "/Users//miniconda3/bin/leetcode-cli", line 11, in
load_entry_point('leetcode-cli==0.0.6', 'console_scripts', 'leetcode-cli')()
File "/Users/
/miniconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/Users//miniconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 2852, in load_entry_point
return ep.load()
File "/Users/
/miniconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 2443, in load
return self.resolve()
File "/Users//miniconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/Users/
/miniconda3/lib/python3.7/site-packages/leetcode_cli-0.0.6-py3.7.egg/leetcodecli/cli.py", line 266
print 'Welcome %s!' % username
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Welcome %s!' % username)?

CSRF issue

When I try to login:

Traceback (most recent call last):
  File "/home/dufferzafar/.local/bin/leetcode-cli", line 11, in <module>
    sys.exit(main())
  File "/home/dufferzafar/.local/venvs/leetcode-cli/lib/python2.7/site-packages/leetcodecli/cli.py", line 1044, in main
    shell.do_login()
  File "/home/dufferzafar/.local/venvs/leetcode-cli/lib/python2.7/site-packages/leetcodecli/cli.py", line 764, in do_login
    self.login()
  File "/home/dufferzafar/.local/venvs/leetcode-cli/lib/python2.7/site-packages/leetcodecli/cli.py", line 266, in login
    'csrfmiddlewaretoken': csrf
UnboundLocalError: local variable 'csrf' referenced before assignment

login failed

Hi chenpengcheng,
the login function is not work and print nothing , how to fix it ?

Install Error

When install sudo easy_install leetcode-cli I get an error:

error: [Errno 2] No such file or directory: 'README.md'

Solution is not defined

When I typed "Check" or "Run", it shows Line 10: NameError: global name 'Solution' is not defined. :)
Also, do i need to control + d every time I want to use "vim" command to type the code? It does not work when I was running ./cli.py.

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.