You will need Sija's version of the garb gem, so add this line to your Gemfile (you will need git installed for this):
gem 'garb', :git => 'git://github.com/Sija/garb.git'
Then run the gem bundler: bundle install
Set your google username
| #!/usr/bin/ruby | |
| =begin | |
| Usage: rtftomarkdown.rb FILENAME.rtf | |
| Uses textutil, available on Mac only (installed by default) | |
| Outputs to STDOUT | |
| Notes: | |
| Links are replaced with Markdown references (duplicate links combined). |
| #!/usr/bin/python | |
| import urllib2 | |
| import json | |
| import time | |
| import calendar | |
| import subprocess | |
| url = 'http://api.thingm.com/blink1/events/01234567DEADC0DE' |
| #!/bin/bash | |
| # Dashing service | |
| # Add this file to /etc/init.d/ | |
| # $ sudo cp dashboard /etc/init.d/ | |
| # Update variables DASHING_DIR, GEM_HOME, & PATH to suit your installation | |
| # $ sudo nano /etc/init.d/dashboard | |
| # Make executable | |
| # $ sudo chmod 755 /etc/init.d/dashboard | |
| # Update rc.d | |
| # $ sudo update-rc.d dashboard defaults |