grayda / bellboy Goto Github PK
View Code? Open in Web Editor NEWA node.js app designed to play audio (e.g. bell sounds) at set times
A node.js app designed to play audio (e.g. bell sounds) at set times
To test this, create three bells: One that runs every day at 9am, one that runs every day at 12pm and one that runs every day at 3pm. Let the 9am bell ring, then disable the 12pm bell. At 1pm, enable the 12pm bell again. Notice how 12pm was marked as the last bell to ring.
Expected result: 9am bell should be the last one to ring, as it actually triggered
Actual result: 12pm bell is marked as the last bell to ring.
Why this occurs: GetPreviousJob is the reverse of GetNextJob, so instead of Bellboy keeping track of what item it last triggered, it merely gets all jobs, calculate the previous 1 time and assumes that was the last job.
Severity: Low. Doesn't really affect operation, but may be confusing to those who assume the previous chronologically ordered job is the last one to fire, even when it wasn't.
This is a scratchpad of sorts for me to jot down ideas.
npm install --save bellboy-rest
or similarplugins.json
as an object, load package.json
as an object. packagePath
= the path, options
are copied from package.json
, restart nodemon
and you're all sorted, as long as the plugins don't crashA 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.