Commits


Release 0.1.1


quotes: mark some quotes as nsfw


quotes: add russian quotes


readme: add supported languages


quotes: update russian quotes


quotes: remove extra whitespace


build: limit line length


build: replace '==' with 'is' See explanation in [1]. 1. http://jaredgrubb.blogspot.com/2009/04/python-is-none-vs-none.html


build: better diagnostic message


build: convert to lowercase before searching string


script: fix indentation


make: www depends on building static json files


quotes: add new quotes in Russian 05:00, 08:00, 12:00, 16:00, 19:00


quotes: add new quotes in Russian NOTE: quotes are duplicated in 09:00-09:59


quotes: fix order in russian quotes


quotes: add new quotes in Russian NOTE: quotes are duplicated


script: add author for a default quote


make: don't suppress logging in install target


make: set a directory with static files for http server


quotes: add new quotes in Russian 09:00, 10:00, 11:00


quotes: add new russian quotes


build: print a number of unique quotes and percents ``` [0] ~/sources/litclock$ python build.py --filename quotes/quotes_ru.csv --dry-run File with quotes: quotes/quotes_ru.csv Number of quotes with unique time: 441 (31%) ```


script: rename variable quote_time_case


script: fix escape code for disabling color This fixes coloring in a ksh(1), Korn shell.


script: replace cut with read Executing 'cut' five times per line makes running script quite slow. Patch replaces 'cut' with builtin 'read' that splits string to a number of variables. This speeds up execution of litclock for three times for a worst case. Path to a shell in shebang has been updated: dash(1) on Debian is not compatible with POSIX shell, for example it doesn't support redirection. Default shell in /bin/sh is replaced with path to Bash. However, litclock script is compatible with Korn shell, that is actually POSIX compatible.