Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (45 sloc) 922 Bytes

titech-portal-auto-login

An auto login script for TokyoTech Portal .

Requirements

  • firefox
  • rbenv
  • pit

Install

First:

$ make build

Next, if you use macOS:

$ make build.macos

If you use linux64:

$ make build.linux64

If you use win64:

$ make build.win64

Setup

Put your environmental information for Tokyo Tech portal as below.

$ vi ~/.pit/default.yaml
titech:
  usr_name: YOUR_USER_NAME
  usr_password: YOUR_PASSWORD
  usr_matrix: ['xxxxxxx', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx']

Usage

$ make login

Further Option

You can log in Tokyo Tech Portal by this command to create it:

$ vi /usr/local/bin/titech
cd /path/to/titech-portal-auto-login
make login
$ chmod +x /usr/local/bin/titech
$ titech