joonty / breaktime Goto Github PK
View Code? Open in Web Editor NEWGive your eyes a rest from the screen, enforce regular breaks!
License: MIT License
Give your eyes a rest from the screen, enforce regular breaks!
License: MIT License
Hi @joonty
I installed breaktime 0.1.2 but got the following error.
D:\>breaktime dialog [WARN] 2013-02-15 14:57:37 :: No configuration file found at d:\asa/.breaktime.y ml, using defaults [INFO] 2013-02-15 14:57:37 :: Check the README for info on creating a configurat ion file [FATAL] 2013-02-15 14:57:37 :: I can't work out which operating system you'r e using. If you think this is unreasonable then please let me know on Github. To get round this problem in the meantime, just specify a "command" in your $HOME/.breaktime.yml file, and this will be executed at the start of your break.
Because I installed Ruby by RubyInstaller for Windows.
See the following outputs.
D:\>ruby -v ruby 1.9.3p385 (2013-02-06) [i386-mingw32] D:\>irb irb(main):001:0> RbConfig::CONFIG['target_os'] => "mingw32"
So, I think this is a quick patch for lib/breaktime/command.rb, line 24.
when /(mswin|mingw).*$/
Hope this patch will help you. :)
Currently, breaktime fails by default on Windows as fork()
is not an available command.
The way to solve this is to add to the $HOME/.breaktime.yml file:
daemonize: false
But a permanent solution should be put in, such as disabling daemonizing if fork is not implemented.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.