##Description
This is a simple widget for displaying IOT data from Xively's Developer API.
##Dependencies
#!/bin/sh | |
# Horrible shell hack to check for enabled SSLv3 on port 443 of a CIDR mask. | |
# | |
# This is pretty slow because it does them in series. Sticking a '&' on the end | |
# of the for loop (so "done &" instead of "done") will execute openssl against | |
# every IP:443 at once. If there's too many to do at once then I suggest | |
# lashing something up with GNU parallel. | |
# | |
# Note also that nmap itself can check for SSLv3 with something like: |
##Description
This is a simple widget for displaying IOT data from Xively's Developer API.
##Dependencies
A simple Dashing widget to show upcoming departures for a specific BART station. You can filter the destinations by platform, direction and specific destination trains.
To install, use the Dashing gist install command with the GIST_ID, like so
dashing install 589d7d4dcbefc3af024e
#!/usr/bin/env python | |
import re | |
import sys | |
import json | |
import requests | |
USER = 'replace_with_your_username' | |
PASS = 'replace_with_your_password' | |
LINE = '7075551212' # your line's phone number |
#!/bin/zsh | |
export GIT_EDITOR="subl -w" | |
if [[ -x `which git` ]]; then | |
# Hub | |
if [[ -x `which hub` ]]; then | |
# alias git=hub |
<!-- this is the plist with stdout/stderr logging enabled if you need it. | |
scroll down for the one without it. also remove this when you | |
copy and paste --> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.homebrew.ssh-agent</string> | |
<key>ProgramArguments</key> |
Dashing.io Widget for UnifiVideo NVR
This method uses API Key access so I suggest you setup a guest account with API access but limited (Visible and View Feed) access. Then login as the guest user, enable API access, and generate a new key. Copy the key for use.
Switch to the Devices tab and open the Configure dialog for the cam. On the Details tab, right-click the thumbnail view and Copy the image URL to the clipboard. It will look similar to the following if pasted to an address bar or text editor: http://192.168.1.105:7443//api/2.0/snapshot/camera/05a2bc63-d1ce-399f-8327-3a19b0cd3e8f?width=%d&force=true
The guid after /camera/ is what you want to use in the unifivideo.rb file.
You can setup as many cameras as you want, just keep adding settings.
This is Dashing widget to include slide show on your dashboard or one of its pages.
##Usage
Make sure to install RMagick
gem to support image resizing. The widget also needs my slightly improved standard image widget. Put the slide_show.rb
file in your /jobs
folder and slide_show_settings.json
to /assets/config/
.
Make sure directory /assets/config
and /assets/images/slide_show
are accessible by Dashing user.
A Dashing widget which shows an image.
To use, in your dashboard.erb file:
<li data-row="1" data-col="1" data-sizex="3" data-sizey="2">
<div data-id="picture" data-view="BigImage" data-image="http://i.imgur.com/JycUgrg.jpg"
style="background-color:transparent;"
data-max="true"
></div>
Dashing widget to display a bunch of current and coming-up Google Calendar events.
The widget shows only one event and is based on the text-widget which is default in the Dashing installation. The time is displayed as human-readable time string with the help of MomentJS.
A Dashing job fetches the events of a given public or private calendar url, orders events to match starting time and sends the data to the dashboard. A certain event offset can be set for each calendar widget so that it will show the first (data-pre="0"
), the second (data-pre="1"
) or any other following event based on the offset. For each calendar you'll have to define a name which enables you to assign custom background colors for events of each calendar.
While the main job is called in larger intervals, there is a second job to be run every minute or so, which kicks out already finished events. In that way processing load