This is a dashing widget intended to show metrics from a sonar repository.
This widget currently uses the list widget as a view. You just have to add this snippet to your dashboard:
import urllib2 | |
import re | |
from lxml import html | |
def school_type(school_report): | |
import cStringIO | |
from lxml import etree | |
from BeautifulSoup import BeautifulSoup | |
import urllib2 | |
import re | |
from lxml import html |
$connection = new-object System.Data.SqlClient.SQLConnection("Data Source=.;Integrated Security=SSPI;Initial Catalog=aspnetdb"); | |
$cmd = new-object System.Data.SqlClient.SqlCommand("UPDATE dbo.aspnet_Membership SET IsApproved = 0 where LastLoginDate < DATEADD(DAY, -30, GETDATE())", $connection); | |
$connection.Open(); | |
$reader = $cmd.ExecuteNonQuery() | |
$connection.Close(); | |
Write-output $reader |
# Required metadata | |
sonar.projectKey=java-sonar-runner-hybris | |
sonar.projectName=HYBRIS | |
sonar.projectVersion=1.0 | |
# Comma-separated paths to directories with sources (required) | |
sonar.sources=bin/custom | |
# Language | |
sonar.language=java |
A Dashing widget to display the remaining days for the active sprint for a Atlassian Jira Agile (formerly known as Greenhopper) Scrum Board
The following dependencies are required. Please add them to your dashing gemfile.
require 'json'
#!/usr/bin/env python | |
#Usage | |
#script.py -r <region name>(optional) -e <environment tagname> <action>[start|stop|status] | |
from optparse import OptionParser | |
import boto.ec2 | |
def get_options(): | |
global options | |
parser = OptionParser(usage="usage: %prog [options] start|stop|status", version="%prog 1.0") |
// this clearly is not the correct way of doing this, what must I be doing | |
pos1 = document.getElementById('pos1').value; | |
pos2 = document.getElementById('pos2').value; | |
pos3 = document.getElementById('pos3').value; | |
pos4 = document.getElementById('pos4').value; | |
pos5 = document.getElementById('pos5').value; | |
pos6 = document.getElementById('pos6').value; | |
pos7 = document.getElementById('pos7').value; | |
pos8 = document.getElementById('pos8').value; | |
pos9 = document.getElementById('pos9').value; |