Put the loadavg1min.rb
to jobs/loadavg1min.rb
.
Add the code from loadavg1min.erb to the desired dashboard.
#!/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 |
#!/usr/bin/python | |
import urllib2 | |
import json | |
import time | |
import calendar | |
import subprocess | |
url = 'http://api.thingm.com/blink1/events/01234567DEADC0DE' |
#!/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). |