Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/eiriksm/tripping-octo-nemesis

I love choosing repo names from suggestions
https://github.com/eiriksm/tripping-octo-nemesis

Last synced: 1 day ago
JSON representation

I love choosing repo names from suggestions

Awesome Lists containing this project

README

        

tripping-octo-nemesis
=====================
[![Code Climate](http://img.shields.io/codeclimate/github/eiriksm/tripping-octo-nemesis.svg)](https://codeclimate.com/github/eiriksm/tripping-octo-nemesis)
[![Build Status](https://travis-ci.org/eiriksm/tripping-octo-nemesis.svg)](https://travis-ci.org/eiriksm/tripping-octo-nemesis)
[![Dependency Status](https://david-dm.org/eiriksm/tripping-octo-nemesis.svg?theme=shields.io)](https://david-dm.org/eiriksm/tripping-octo-nemesis)
[![Coverage Status](http://img.shields.io/coveralls/eiriksm/tripping-octo-nemesis.svg)](https://coveralls.io/r/eiriksm/tripping-octo-nemesis)

I love choosing repo names from suggestions

Module to book stuff from 3t. Note that this does not use any "official" API, so
you should use at your own risk.

## Requirements
- Node.js
- npm

## Setup
- Install the required modules (`npm install`)
- Copy the file `default.config.yml` to `config.yml` and run with `node
starter.js`

If you want to use it as a module, you then
```js
var octo = require('tripping-octo-nemesis');
```

## Settings
You should look up what business unit you want to book. Other settings should
be self-explanatory (Just remember that sunday = day 0 and saturday = day 6).

At the time of writing, these are the businessUnit codes:
- 3t Rosten: __1__
- 3t Leangen: __2__
- 3t Steinkjer: __5__
- 3t Sluppen: __6__

## Run weekly with cron.
- Edit your crontab (for example with `crontab -e`)
- Add the following line (used for booking on fridays):
```01 08 * * 5 cd /path/to/script && node starter.js > /dev/null```

## Contribute
Contributions are welcome, although I would be pleasantly surprised :)

Remember to run all tests with `make test`

## Licence
[WTFPL](http://en.wikipedia.org/wiki/WTFPL)