Hello Codeforces,
I have been working on an app to download the source code of submissions with verdict Accepted from Codeforces.
Currently the app continues in development and any suggestion is received :P.
The name of app is get-submissions:
To install
# npm install -g get-submissions
To use
$ get-submissions -h <handle> -c <count> -d <directory>
Full documentation and repository here
Got this error message on running "npm install -g get-submissions" Pastebin. How to overcome this.Thanks !
Have you read the message? Does that describe your situation (which is common in schools)?
Installed it by setting proxies in .npmrc file by adding:
proxy http://proxy.company.com:8080 https-proxy http://proxy.company.com:8080
But now nothing is happening on running "get-submissions -h handle" Command :(
Can anybody suggest me some other way to do same thing, Maybe not from terminal !
Be sure that you installed the package with the parameter
-g
(you need to be root or use sudo for that), this parameter is necessary to install the command globally, it means that you can call the commandget-submissions
from the command line; without the parameter-g
, a new folder is created in your current path called node_modules/, to use the package in this way, you need to execute./node_modules/get-submissions/bin/getSubmissions.js -h handle
.Does your module support http proxy by itself? I doubt it. According to answers for this question there is no way of global proxy configuration for node applications, except for some kludge modules who override
http.proxy
.If you are willing to add proxy support, you can make your application respect the
http_proxy
environment variable, as many Linux programs do.