Hacker News new | past | comments | ask | show | jobs | submit login
F.lux in 10 lines of code
3 points by danielng01 on Dec 26, 2016 | hide | past | favorite | 2 comments
So I decided to try in how many lines I can make blue light and brightness reduction software for Linux and this is the result.

10 lines and works on all linux distributions

See the source code here

https://github.com/danielng01/iris-floss

More about Iris here

http://iristech.co

:)




It's actually much more than 10 lines. It's unreadable in its current state.


Try e.g.:

    $ curl -s https://raw.githubusercontent.com/danielng01/iris-floss/master/iris-floss.c \
      | indent -gnu \
      | wc -l
    78
    $




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: