Fetches times for the next buses at a given OC Transpo stop.
Add the following to your gemspec:
gem 'octranspo_fetch', '>= 0.0.4'
Then configure the constants at the top of oc_transpo.rb.
Dashing widget to display a random cute picture from http://reddit.com/r/aww
The display of the widget is heavily based on the Image widget, however it does not prepend the src with 'assets' which allows for external images.
You can set a placeholder image in the event that reddit is down, or otherwise unresponse. This is set at the top of random_aww.rb as follows:
So, you made a change to your dashboard, and now you have to run all over the building, plugging in a keyboard, and reloading the dashboard on the various TVs in your office. What if you could reload all the dashboard from the comfort of your desk?
Add this widget to the very bottom of your dashboard, after the "gridster" div:
<div class="gridster">
<ul>
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-view="Image" data-image="/benbria/loop.png" style="background-color:#666766"></div>
</li>
Get EC2 CloudWatch stats and graph them in Dashing.
The graphing widget shows graphs using the Rickshaw graphing library. The names of data fields should be (vaguely) familiar if you've used Rickshaw before.
It's recommended that you replace the /assets/javascripts/rickshaw.min.js from your dashboard with the latest from here.
To reproduce:
npm install
Set "repoProblem" to true to make the problem happen, and to false to make the app run WAY faster and not run out of memory. :)
This will show your next GitHub milestone as a Dashing widget. Built on top of the Text widget.
To use:
Add the following to your gemfile
:
gem 'rest-client'
Replace the git_token
, git_owner
, and git_project
in git-milestone.rb as appropriate.
#!/bin/bash | |
# Print usage instructions. | |
printUsage() { | |
cat <<END | |
usage: `basename $0` [-hv] [-s version] [-p prefix] | |
where: | |
prefix - The filename prefix to use in generating the tarball name. | |
version - The version number to use in generating the tarball name. |