EM::ScheduledTimer provides EventMachine timers that let you specify a time, rather than an interval, at which to fire.
This gem provides a StopWatch class that wraps Timer and Process objects
A controllable timer
Nest code blocks and time them easily to grab a greater insight on what is happening to your code.
Game Server Services GS2-Timer Client Library
Easily retrieve a URL on a timer
Helps us collect timings
Create cancelable timer objects that will call a given callback when time has elapsed. Implemented using a single scheduling thread.
Chef report handler to generate reports about spent time on a Chef run, it's generating CSV reports and Chef logs
pietimer-cis will provide you a counter as a pie
# ruby unshare (runshare) This tool allows to unshare Linux namespaces. The implementation is similar to the unshare(1) tool. ## Installation Add this line to your application's Gemfile: ```ruby gem 'runshare' ``` And then execute: $ bundle Or install it yourself as: $ gem install runshare ## Usage > require "runshare" > RUnshare::unshare For example: cat > test.rb require "runshare" pid = RUnshare::unshare( :clone_newpid => true, :clone_newns => true, :clone_newcgroup => true, :clone_newipc => true, :clone_newuts => true, :clone_newnet => true, :clone_newtime => true, :fork => true, :mount_proc => "/proc", # docker export $(docker create hello-world) | tar -xf - -C rootfs :root => "/tmp/rootfs" ) if pid == 0 # child puts "--- #{Process.pid}" if system("/hello") != true raise "bad" end puts "--- done" else # parent puts "-- unshare=#{pid}, pid=#{Process.pid}" puts "-- exit=#{Process.waitpid(pid)}" end ^D sudo ruby -I ./lib ./test.rb ## Quick start $ rake compile && echo 'require "runshare"; RUnshare::unshare(:clone_newuts => true)' | irb install -c tmp/x86_64-linux/runshare/2.4.10/runshare.so lib/runshare/runshare.so cp tmp/x86_64-linux/runshare/2.4.10/runshare.so tmp/x86_64-linux/stage/lib/runshare/runshare.so Switch to inspect mode. require "runshare"; RUnshare::unshare ## Ruby <2.5 If your app is single threaded and you are observing: eval:1: warning: pthread_create failed for timer: Invalid argument, scheduling broken Just ignore it with some degree of bravity. You also can silence it by setting: $VERBOSE = nil ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/sitano/runshare. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Provides a minimalist timer inside the command-line terminal and send a macOS notification when the time's up.
A ruby gem that calculates runtime between user defined checkpoints.
A simple code timer
blinker: simple timer with blink(1)
> timer 10min Bla bla bla
it support pomodoro technique (e.g. timer, alert, etc.)
You can set timer and receive notify on your voice channel.
Create a countdown timer animated GIF
If a service crashed silently, chances are, it does not write to its logs for a while. This gem checks a list of log files if they changed recently and alerts you if a file is older than the given limit.
Description
timer under construction.
Timer for nx.
Timer on CLI notify with Growl.
TimerJS for realtime dynamic clock. This gem is dedicated to the memory of my father, Mahesh Prasad Prajapati as because of him I have a great mind. I am missing him everyday. You can find out breif details of this gem on github repo. Please click on Homepage below right side in links section.
could be a timer on cli
timer-cli is a simple timer command line interface
helper methods for timers in EventMachine
This is a Timer class that calculates the time between two moments.
Pomodoro timer for tmux
Gain insights into how you have improved over time. Has graphs, histograms, and other fancy stuff!
Clean ruby syntax for writing and deploying systemd timers.
Some tasks, like database inserts, are much more efficient to process in a batch. However, we generally want our tasks to be processed "soon" even if there's only one task. The TaskBatcher gem groups tasks by a taskname parameter, and starts a timer when the first task comes in. After the batch timer expires, it processes all tasks that it received in that time. (The caller provides the block to process the tasks.) Uses EventMachine under the hood. May be combined with Messenger for durability guarantees.
Timeru : the simple timer for terminal A utility for counting down inside terminal.
cml_timer is poor command line timer
Measure time spent in your Rack middlewares
cron-style methods for timers in EventMachine
Time the 'call' method of the middleware classes used by Rails.
A ruby gem that implements a shell timer.
A handy timer to benchmark Ruby code
このライブラリは、ブロック内の処理時間を計測するためのライブラリです。
# Use as a Command Line Utility The main purpose of this gem is to provide a command line timer that can time small activities that make up a large activity. For example, if you want to study for 3 hours, but you want to break that up into 1 hour blocks, this is the perfect tool. You could run the following: `subtime -m 180 -s 120,”Switch to Biology”,60,”Switch to Chemistry”` This would count down from 180 minutes giving you the Biology reminder after an hour and the Chemistry reminder after another hour.
A plugin for 'thyme' pomodoro timer, which scores tasks every time a pomodoro is successfully completed.
Timer API
Ruby bindings for Spacetime, a Lisp-like language for getting and computing datetimes.
[オンライン開催:東京エリア・関西合同Debian勉強会(2021/04/17(土))](https://debianjp.connpass.com/event/208924/)の発表資料です。 crontab の代わりに systemd-timer を使う、および user 権限での systemd の話です。
Uses the CCAN timer implementation and hooks in the main Ruby VM to speed up timeout.rb