Categories: None [Edit]

millworker

https://rubygems.org/gems/millworker
https://github.com/tomkersten/millworker
A Ruby gem which takes the pain of continuously reading data from a serial port away and lets you focus on dealing with the data received. This was written specifically for reading in data from an ID-20 RFID card reader and running custom scripts to automatically perform various tasks when patrons scanned their badge at the [MN Mill](http://mnmill.org) (logging attendance, etc). Custom scripts are loaded from `ENV["HOME"]/millworker/tasks` and are executed in alphabetical order. Each script is executed with the ID of the badge passed in as an argument. For example, a script called `tweet_id.rb` existed in the afformentioned directory, it would be executed as if you had opened up a command terminal and typed `tweet_id.rb RFID_TAG_ID_HERE`.

Total

Ranking: 58,932 of 187,571
Downloads: 17,631

Daily

Ranking: 60,111 of 187,548
Downloads: 7

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,165,196,519rake
48393,778,701gli
1,34229,918,985dante
2,2988,985,762hoe
2,9415,276,602aruba
7,669519,544serialport
11,899201,607hoe-git
12,939171,161hoe-bundler

Owners

#GravatarHandle
1icontomkersten