Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/titsuki/acme-aoj

aoj -- A Simple AOJ Submitter
https://github.com/titsuki/acme-aoj

Last synced: 10 days ago
JSON representation

aoj -- A Simple AOJ Submitter

Awesome Lists containing this project

README

        

aoj -- A Simple AOJ Submitter
============================

Installation
------------

* Clone this repository

```
$ git clone https://github.com/okaoka/Acme-AOJ
```

* Install expat
```
$ sudo apt-get install expat
$ sudo apt-get install libexpat1-dev
```

* Install CPAN modules

```
$ cpanm File::Slurp
$ cpanm WebService::Simple
$ cpanm Config::Pit
$ cpanm YAML
...
```

* Copy aoj file to the bin directory

```
$ mkdir -p $HOME/.aoj/bin
$ cp -p aoj $HOME/.aoj/bin
```

* Open your .bashrc and edit $PATH like this

```
export PATH=$HOME/.aoj/bin:$PATH

```
* Then add EDITOR variable

```
export EDITOR=emacs
```

* Update your .bashrc

```
$ source ~/.bashrc
```

* Tell your Account to the Config::Pit

```
$ ppit set aoj
```

* Then edit following variables
* tabwidth ... being used when tab is converted into white space
* user ... set your user id
* password ... set your password
* lang ... set your defalut languages

* Example

```
---
"lang": 'C++'
"password": 'hogehogefugafuga'
"tabwidth": 8
"user": 'hogehoge'
```

Usage
-----

See

$ aoj --help