2024-01-28 08:54:01 -07:00
2024-01-28 08:08:38 -07:00
2024-01-29 01:28:52 -07:00

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:

waittime seconds configfilepath path/to/config

TODO

  1. suffixes 'm', 's' and 'h' for time
  2. UI
  3. automatic a config file creation

НА РУССКОМ

ПРОГРАММА НА РУБИ ДЛЯ ВИНДОВС КОТОРАЯ ВКЛЮЧАЕТ БУДИЛЬНИК ЧЕРЕЗ ОПРЕДЕЛЁННОЕ ВРЕМЯ НЕИСПОЛЬЗОВАНИЕ КЛАВИАТУРЫ (КОМПЬЮТЕРА) БЕЗ СТОРОННИХ ГЕМОВ

СИНТАКСИС:

ruby autobudilnik.rb [-a <audiofilepath>] [-t <time>] [-c <configfilepath>]

ПРИМЕЧАНИЯ

ВРЕМЯ НУЖНО УКАЗАТЬ В СЕКУНДАХ

ПАРАМЕНТЫ ОПРЕДЕЛЯЮТСЯ В ЭТИХ ПРИОРИТЕТАХ: АРГУМЕНТЫ > СВОЙ КОНФИГ > КОНФИГ > ВСТРОЕННЫЕ ПАРАМЕТРЫ

ЕСЛИ НУЖЕН КОНФИГ ИЛИ АУДИОФАЙЛ В ОТНОСИТЕЛЬНОМ КАТАЛОГЕ ТО НУЖНО СНАЧАЛО В ТЕРМИНАЛЬНОЙ СРЕДЕ(cmd) ПЕРЕЙТИ ТУДА ПЕРЕД ЗАПУСКОМ

ФАЙЛ КОНФИГУРАЦИИ

waittime seconds configfilepath ПУТЬ/К/КОНФИГУ

ЗАДАЧИ

  1. ПОДДЕРЖКА ПРИСТАВОК 'm' 's' И 'h' В КОНЦЕ ДЛЯ ВРЕМЕНИ
  2. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС
  3. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА
Description
a program on pure ruby for windows that turns on alarm after N times when you are not using the keyboard without any third-party gems
Readme 78 KiB
Languages
Ruby 99.2%
Batchfile 0.8%