Skip to content

Instantly share code, notes, and snippets.

View sydcurie's full-sized avatar

Junqiang Liu sydcurie

View GitHub Profile
@roelentless
roelentless / README.md
Last active January 10, 2019 18:46
Countdown widget for Dashing

Description

Simple Dashing widget to countdown until a certain moment. Flashes the widget when finished.

##Usage

To use this widget, copy countdown.html, countdown.coffee, and countdown.scss into the /widgets/countdown directory.

To include the widget in a dashboard, add the following snippet to the dashboard layout file:

@woledzki
woledzki / dashboard.php
Last active September 28, 2015 23:27
How to run hoborgLabs dashboard from phar file
<?php
$rootPath = getenv('DASHBOARD_ROOT') ? getenv('DASHBOARD_ROOT') : __DIR__ . '/..';
require_once "{$rootPath}/dashboard.phar";
$kernel = new \Hoborg\Dashboard\Kernel($rootPath);
$kernel->setDefaultParam('conf', 'demo');
$kernel->handle(array_merge($_GET, $_POST));