Skip to content

titsuki/Acme-AOJ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

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

About

aoj -- A Simple AOJ Submitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages