<commit_before># Motion Arrivals

iBeacons, RubyMotion, SlackHQ. Oh my!

![friends](http://media.giphy.com/media/SKhNHgpJzthII/giphy.gif)


A simple example app used in my iBeacon talk at [#sydinmotion](http://sydinmotion.com).

![](http://c.willrax.com/USha/2014-03-16%2013_02_15.gif)

## Usage

Just fill in your slackbot remote control token and preferred channel in `app_delegate.rb`.

```ruby
class AppDelegate
  def application(application, didFinishLaunchingWithOptions:launchOptions)
    App::Persistence[:slack_token] = "TOKEN"
    App::Persistence[:channel] = "CHANNEL"

    # ...
  end
end
```<commit_msg>Add further instructions.<commit_after># Motion Arrivals

iBeacons, RubyMotion, SlackHQ. Oh my!

![friends](http://media.giphy.com/media/SKhNHgpJzthII/giphy.gif)


A simple example app used in my iBeacon talk at [#sydinmotion](http://sydinmotion.com). No longer will your colleagues be wondering when you arrive in the office!

![](http://c.willrax.com/USha/2014-03-16%2013_02_15.gif)

## Usage

Just fill in your slackbot remote control token and preferred channel in `app_delegate.rb`.

```ruby
class AppDelegate
  def application(application, didFinishLaunchingWithOptions:launchOptions)
    App::Persistence[:slack_token] = "TOKEN"
    App::Persistence[:channel] = "CHANNEL"

    # ...
  end
end
```

You'll want to have some sort of iBeacon running near your desk / office. I would recommend this Mac OSX app [https://github.com/lgaches/BeaconEmitter](https://github.com/lgaches/BeaconEmitter).
{'fraction_non_alphanumeric': 0.1254125412541254, 'fraction_numerical': 0.021122112211221122, 'mean_word_length': 4.8084291187739465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2511962', 'n_tokens_mistral': 557, 'n_tokens_neox': 499, 'n_words': 130}