Skip to content

Instantly share code, notes, and snippets.

@fabioelia
fabioelia / jira-hide.js
Created December 12, 2017 20:42
Jira hide completed entries
(() => {
if ($('#toggle-done').length === 0) {
$('#create-menu').after('<li id="toggle-done"><a class="aui-button aui-button-secondary aui-style" style="background-color: #6fb035; border-color: #3e730e">Show / Hide Done</a></li>');
$('#toggle-done').on('click', function(e) {
e.preventDefault();
$('.ghx-done').toggleClass('hidden');
return false;
});
}
})();
@fabioelia
fabioelia / jira-sorting.js
Created September 13, 2017 02:45
Add sorting to jira backlog view
(() => {
const issueBlocks = $('.js-issue-list');
$(issueBlocks).map(function() {
const issueBlock = this;
let sortingRow = document.createElement('div');
sortingRow.innerHTML = `<div class="ghx-issue-content">
<div class="ghx-row">
<span class="ghx-type" data-sort="ghx-type" data-key="title" title="Issue Type">
IT
# Find downloads at: https://helpx.adobe.com/air/kb/archived-air-sdk-version.html
class AdobeAirSdk < Formula
homepage "https://www.adobe.com/devnet/air/air-sdk-download.html"
url "http://airdownload.adobe.com/air/mac/download/19.0/AIRSDK_Compiler.tbz2"
version "19.0.0.190"
sha256 "a724d7cae0f9602551e714a9e7ac77217e027de0bb957c9dad4f5596ea5d2c8c"
# conflicts_with "adobe-air-sdk-flex"
def install
# Find downloads at: https://helpx.adobe.com/air/kb/archived-air-sdk-version.html
class AdobeAirSdk < Formula
homepage "https://www.adobe.com/devnet/air/air-sdk-download.html"
url "http://airdownload.adobe.com/air/mac/download/18.0/AIRSDK_Compiler.tbz2"
version "18.0.0.180"
sha256 "2fddd0d58d909c38fb91448fdb16029045a19d9f5d203519e23a3fcd9c42d27d"
# conflicts_with "adobe-air-sdk-flex"
def install
require 'formula'
class FlexSdk < Formula
url 'http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.5/flex_sdk_4.5.1.21328.zip'
sha256 '537b55076050ce39a3444ea9a303a6bbf6cc2dc277f82a23a1f3d8455876c03d'
homepage 'http://opensource.adobe.com/'
version 'v4.5.1.21328'
def install
Dir['*'].each { |file| cp_r file, File.join( prefix, File.basename(file) ) }
@fabioelia
fabioelia / jira.js
Created July 23, 2015 01:23
Jira Burn Down Script
// Include moment.js
//! moment.js
//! version : 2.10.3
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return Dc.apply(null,arguments)}function b(a){Dc=a}function c(a){return"[object Array]"===Object.prototype.toString.call(a)}function d(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function e(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function f(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function g(a,b){for(var c in b)f(b,c)&&(a[c]=b[c]);return f(b,"toString")&&(a.toString=b.toString),f(b,"valueOf")&&(a.valueOf=b.valueOf),a}function h(a,b,c,d){return za(a,b,c,d,!0).utc()}function i(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!