autobudilnik/README.md

40 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## autobudilnik
a program on ruby for windows that turns on alarm after N times when you are not using the keyboard (the computer) without any third-party gems
### syntax:
ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>]
time in seconds
### configuration file:
<code>waittime seconds
configfilepath path/to/config</code>
### TODO
1. suffixes 'm', 's' and 'h' for time
2. UI
2. automatic a config file creation
## НА РУССКОМ
ПРОГРАММА НА РУБИ ДЛЯ ВИНДОВС КОТОРАЯ ВКЛЮЧАЕТ БУДИЛЬНИК ЧЕРЕЗ ОПРЕДЕЛЁННОЕ ВРЕМЯ НЕИСПОЛЬЗОВАНИЕ КЛАВИАТУРЫ (КОМПЬЮТЕРА) БЕЗ СТОРОННИХ ГЕМОВ
### СИНТАКСИС:
ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>]
ВРЕМЯ В СЕКУНДАХ
ПАРАМЕНТЫ ОПРЕДЕЛЯЮТСЯ В ЭТИХ ПРИОРИТЕТАХ:
АРГУМЕНТЫ > СВОЙ КОНФИГ > КОНФИГ > ВСТРОЕННЫЕ ПАРАМЕТРЫ
### ФАЙЛ КОНФИГУРАЦИИ
<code>waittime seconds
configfilepath ПУТЬ/К/КОНФИГУ</code>
### ЗАДАЧИ
1. ПОДДЕРЖКА ПРИСТАВОК 'm' 's' И 'h' В КОНЦЕ ДЛЯ ВРЕМЕНИ
2. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС
3. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА
ג