npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

eecs-yorku

v1.0.11

Published

A command-line SSH client tool for submitting assignments and managing your York Univeristy Prism account.

Downloads

24

Readme

eecs-yorku

A command-line SSH client tool for submitting assignments through your York Univeristy Prism account.


What's this for?

    York University gives us (students) accounts for the computer science department system (called Prism). We use our accounts to log into the lab computers, and they have this special program installed on them that we can use, from the terminal, to submit our work (text files, java files, etc).     We also have SSH access for our accounts, so we could do a lot of the work on our own computers and SSH in and submit them.     Not many students actually do this, however, for these reasons:     1) Some students dont know what SSH is or whether we have it.     2) Many students have heard that you can do this, but either dont know how or it sounds like a lot of work to set it up. (You have to install Putty and Filezilla or PSCP)     3) Some students do have it working, or could do it easily, but, due to having to login to and switch back and forth between 2 or 3 different programs every time, still dont do it or are at least annoyed by it.     eecs-york automates this process, so it feels like you have the Prism application on your own computer.

To use:

  1. Install Node (v6.7.0^)
  2. Run this command on your terminal:
$ npm install -g eecs-yorku
  1. Set up your credentials with these two commands:
$  eecs-yorku set-user <your_username> 
$  eecs-yorku set-pass <your_password>
  1. Test that it works with this command (it should give you the help page for the submit command):
$  eecs-yorku submit
  1. To test the submission function run this command (replace the <file_placeholders> for real file names):
$   eecs-yorku submit fake_course fake_lab <a_file> <another_file>
  1. the command above should return something like "there is no such course" (which means its working), and have uploaded your files to your prism account under /etc/home/<your_username>/submissions/fake_course/fake_lab

API:

set-user

$ eecs-yorku set-user <username>

Sets user to use for authorization. Stored in .json in user's home directory.

set-pass

$ eecs-yorku set-pass <password>

Sets password to use for authentication.

submit

$ eecs-yorku submit <course> <assignment> <file> <another-file> ... 

Uploads all given files (any number of files) to your Prism account and then calls the submit program with the information given. It returns the output to you, so if your file wasn't accepted, you'll get the response (this includes the style-checker feedback).

Whether your file is accepted or rejected, it is stored in your Prism account under /eecs/home/<username>/submissions/<course>/<assignment>.

A new submission of the same file (whether successful or not) will overwrite the previous upload.

$ eecs-yorku submit

Calling submit with no further parameters will return the help page from the Prism application.

show submission [not yet implemented]

$ eecs-yorku submit -l <course> <assignment>

Lists all files you have previously submitted for a specific assignment.

upload [not yet implemented]

$ eecs-yorku upload [dir] <file> <another-file> ...

Uploads a set of files without calling submit. A directory of choice within your account directory should be able to be selected.

You can upload your files right now just by providing nonsensical course and assignment names (for example "xx"). You cannot currently select a directory, however. Your files will be stored in the submissions directory.

set-rsa [not yet implemented]

eecs-yorku set-rsa ...

Set up rsa authentication