Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am wolfspyre on github.
  • I am wolfspyre (https://keybase.io/wolfspyre) on keybase.
  • I have a public key whose fingerprint is 7AB7 8035 9E1E 3CC9 7F39 AF1F B7F4 9854 C2D3 3281

To claim this, I am signing this object:

@wolfspyre
wolfspyre / dashboard
Last active August 29, 2015 14:26 — forked from gregology/dashboard
Service script for dashing. Update DASHING_DIR variable, add this file to /etc/init.d/ , chmod to 755, and let update rc.d with $ sudo update-rc.d dashboard defaults This scripts stops the dashing service with "killall thin" which will kill all thin services running on your server.
#!/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
@wolfspyre
wolfspyre / README.md
Last active May 21, 2019 05:21 — forked from hussfelt/README.md
Dashing widget to display an iframe with specified src

dashing-iframe

IFrame plugin for dashing

Description

Dashing widget to display an iframe with specified src

Installation

Create the folder iframe in the /widgets/ directory. Put the files iframe.coffee, iframe.html and iframe.scss in that folder.

Graphing Widget

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.

Supported HTML data fields

#!/usr/bin/env rspec
require 'spec_helper'
describe ' mymodule::mydefine', :type => :define do
context 'input validation' do
let (:title) { 'my_title'}
# ['path'].each do |paths|
# context "when the #{paths} parameter is not an absolute path" do
# let (:params) {{ paths => 'foo' }}
# it 'should fail' do