4 OP l33t h4xx0rz
./cornell is a Command Line Interface for Cornell-related things. It currently can fetch info about dining halls (including menus!), classes, computer labs and search people by name or netid.
This CLI requires Node.js 8 or later. You can see what version of node you're running by executing:
node --version
If you don't have Node, or it's not version 8 or later, get the latest version with Homebrew (MacOS), nvm (MacOS, Linux) or directly from their website (all platforms).
Once you have Node 8 or above, install it with:
npm install -g cornell
I put together this install script a while back. It shold get you all set up. Run it from your terminal:
curl https://raw.githubusercontent.com/mrkev/cornell/master/lib/install.sh | bash
cornell --help
- Always a good ideacornell eat --menu
- Lists open halls. Select one for
menus.
cornell eat --time okies
- Lists a few days of
Okenshields open hours.
cornell class mexico
- Search roster for classes
containing "mexico".
cornell class -s CS compilers
- Search CS classes
containing compilers.
cornell class -s CS -l "%subj%cnum %when" | grep spring
- All CS classes offered now, and also in the spring.
cornell netid Ajay
- Find someone on the cornell
directory.
You already have 42 tabs open and don't want to kill those page-tables just to find a place to eat.
You're in bash
all day anyways ¯\_(ツ)_/¯
You want to tmux
and cron
and
grep
for dayz.
To up your vintage game, duh.