Simple Dashing widget (and associated job) to display a Twitter search. Uses Twitter API v1.1.
##Dependencies
Add it to dashing's gemfile:
.reveal .slides section { | |
padding: 10px; | |
} | |
.reveal .slides section iframe { | |
-webkit-transform: scale(0.5) translate(-50%, -50%); | |
-moz-transform: scale(0.5) translate(-50%, -50%); | |
transform: scale(0.5) translate(-50%, -50%); | |
min-width: 200%; | |
min-height: 200%; |
function inspect(obj, maxLevels, level) | |
{ | |
var str = '', type, msg; | |
// Start Input Validations | |
// Don't touch, we start iterating at level zero | |
if(level == null) level = 0; | |
// At least you want to show the first level | |
if(maxLevels == null) maxLevels = 1; |
/* | |
* Copyright (c) 2012 Nolan Lawson <[email protected]> | |
* This work is free. You can redistribute it and/or modify it under the | |
* terms of the Do What The Fuck You Want To Public License, Version 2, | |
* as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
*/ | |
package com.your.app.helper; | |
import java.lang.reflect.Field; | |
import java.util.ArrayList; |
# Get a next task from some tasks queue, create and start a crawler | |
def start_crawler(): | |
settings = CrawlerSettings() | |
settings.overrides['TELNETCONSOLE_ENABLED'] = 0 | |
settings.overrides['WEBSERVICE_ENABLED'] = False | |
crawler = Crawler(settings) | |
crawler.configure() | |
url = get_url_from_some_queue() |
# Get a next task from some tasks queue, create and start a crawler | |
def start_crawler(): | |
settings = CrawlerSettings() | |
settings.overrides['TELNETCONSOLE_ENABLED'] = 0 | |
settings.overrides['WEBSERVICE_ENABLED'] = False | |
crawler = Crawler(settings) | |
crawler.configure() | |
url = get_url_from_some_queue() |
Simple Dashing widget (and associated job) to display a Twitter search. Uses Twitter API v1.1.
##Dependencies
Add it to dashing's gemfile:
##Preview
Simple Dashing widget (and associated job) to display weather info. Uses Yahoo's weather API.
##Dependencies
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:
Dashing widget to show the build status of a CircleCI project.
CIRCLE_CI_AUTH_TOKEN
httparty
to your Gemfile and run bundle install
Then:
Dashing widget to display weather from forecast.io. This widget was forked from https://gist.github.com/mjamieson/5274790 to add Skycons and the forecast for later in the day.
##Usage