Skip to content

Instantly share code, notes, and snippets.

@tozevv
tozevv / fetch-mss.sh
Last active November 27, 2016 22:45
Simple tool to fetch Microsoft Smooth Streaming files.
#!/bin/sh
#
# Simple Microsoft Smooth Streaming fetch.
#
echo $PATH
if [ $# -eq 0 ]
then
echo "Usage: fetch-mss.sh <ism-url>"
fi
@tozevv
tozevv / jira-copy-versions-hack.js
Created October 31, 2015 09:14
JIRA copy versions between projects hack.
// do this in the console in the source project window
var jsonVersions = JSON.stringify(jQuery("tr.project-config-version").map(function(i, e) { var x = jQuery(e).data(); return { id: x.id,
description: x.description, name: x.name, startdate: x.startdate, releasedate: x.releasedate} }).toArray())
jsonVersions;
// copy the output of this
// do this in the console in the source project window
var JsonVersions = "pasteoutputhere";
@tozevv
tozevv / jira-card-issue-links-href.js
Last active October 31, 2015 09:06
Add href to linked issues in JIRA agile cards. Copy and paste into "Announce" section of JIRA config.
@tozevv
tozevv / javascriptsearchmanager.js
Created May 28, 2015 10:42
Splunk Javascript Search Manager
/**
* Javascript Search Manager
*
* Search Managers with javascript queries. Enables the combination of two or more Splunk results into a single result.
* Useful for implementing joins of precalculated {@link http://docs.splunk.com/Documentation/Splunk/6.2.3/Report/Acceleratereports|accelerate reports}.
*
* To use, follow the following steps:
*
* 1. Create your dashboard. Create a placeholder for the javascript search / panel.
* 2. Convert your splunk dashboard to an {@link http://dev.splunk.com/view/webframework-htmldashboards/SP-CAAAEM2|HTML dashboard}
@tozevv
tozevv / mergesearchmanager.js
Last active August 29, 2015 14:21
Splunk MergeSearchManager
/**
* Merge Search Manager
*
* Merge results from 2 SearchManagers. Enables the combination of two Splunk results into a single result.
* Useful for implementing joins of precalculated {@link http://docs.splunk.com/Documentation/Splunk/6.2.3/Report/Acceleratereports|accelerate reports}.
*
* To use, follow the following steps:
*
* 1. Create your dashboard. Create a placeholder for the merged search / panel.
* 2. Convert your splunk dashboard to an {@link http://dev.splunk.com/view/webframework-htmldashboards/SP-CAAAEM2|HTML dashboard}