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'
| long beforeUsedMemA=Runtime.getRuntime().totalMemory()-Runtime.getRuntime().freeMemory(); | |
| // i do my thing | |
| long afterUsedMemA=Runtime.getRuntime().totalMemory()-Runtime.getRuntime().freeMemory(); | |
| long actualMemUsedA=afterUsedMemA-beforeUsedMemA; | |
| // actualMemUsedA is negative |
| long beforeUsedMemA=Runtime.getRuntime().totalMemory()-Runtime.getRuntime().freeMemory(); | |
| // i do my thing | |
| long afterUsedMemA=Runtime.getRuntime().totalMemory()-Runtime.getRuntime().freeMemory(); | |
| long actualMemUsedA=afterUsedMemA-beforeUsedMemA; | |
| // actualMemUsedA is negative |
| #!/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") |
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'
| # 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 |
| $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 |
| 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 |