p0pr0ck5 / lalarm Goto Github PK
View Code? Open in Web Editor NEWThis project forked from luadist/lalarm
An alarm library for Lua based on POSIX alarm.
Home Page: http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lalarm
This project forked from luadist/lalarm
An alarm library for Lua based on POSIX alarm.
Home Page: http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lalarm
This is an alarm library for Lua 5.1. It depends on alarm, signal, and SIGALRM, which should be available in any POSIX system. See for instance` http://www.opengroup.org/onlinepubs/009695399/functions/alarm.html To try the library, just edit Makefile to reflect your installation of Lua. Then run make. This will build the library and run a simple test. For detailed installation instructions, see http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/install.html The library exports a single function, alarm([s,[f]]), which tells Lua to call f after s seconds have elapsed. This is done only once. If you want f to be called every s seconds, call alarm(s) inside f. Call alarm() without arguments or with s=0 to cancel any pending alarm. See test.lua, which shows the library in action. This code is hereby placed in the public domain. Please send comments, suggestions, and bug reports to [email protected] . ------------------------------------------------------------------------------- alarm library: alarm([secs,[func]]) -------------------------------------------------------------------------------
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.