Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/titsuki/acme-aoj
- Owner: titsuki
- License: other
- Created: 2014-04-29T09:03:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-09T13:30:14.000Z (over 7 years ago)
- Last Synced: 2024-11-05T21:50:34.507Z (about 2 months ago)
- Language: Perl
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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