A Dashing widget that checks whether a server is responding to either an http or ping request. It displays either a check or alert depending on the response.
#!/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 |
The MIT License (MIT) | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
the Software, and to permit persons to whom the Software is furnished to do so, | |
subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all |
require 'mandrill' | |
require 'json' | |
mandrill = Mandrill::API.new 'YOUR_API_KEY' | |
yesterday_number = 0 | |
todays_number = 0 | |
clock = Time.new | |
day = clock.day |
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'json' | |
gitlab_token = "YOUR TOKEN" | |
gitlab_uri = "URL GITLAB" | |
# number of repositories to display in the list | |
# order the list by the numbers | |
ordered = true |
Simple Dashing widget that show the amount of open issues and bugs for a Gitlab project.
The widget was made by @joren for use @openminds. If you end up using this widget, please send me a tweet! I'd love to hear about it.
This widget requires the curb gem for easy curl request in Ruby and your Gitlab API key.
This is a fork of ruleb's count down that rended one of the else ifs unreachable in his code. Even though he was notified by menny people he never fixed his code so i took it on to... fix 1 line of code. This Fork may expand if i have the time to re-learn coffie and see if any outher code is broken.
The rest of this readme and the html code and scss is still the orginal by ruleb.
Simple Dashing widget to countdown until a certain moment. Flashes the widget when finished.
<!-- Contact batch email --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' /> | |
</head> | |
<body> | |
<div>Name: <%= @name %></div> | |
<br> | |
<div>Subject: <%= @subject %></div> |
api = 2 | |
core = 7.x | |
projects[drupal][type] = core | |
projects[drupal][download][type] = git | |
projects[drupal][download][branch] = 7.x | |
projects[drupal][download][url] = http://git.drupal.org/project/drupal.git |