This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Jira Timeline | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Add a timeline visualisation to jira filters | |
// @author You | |
// @match https://jira.tools.tax.service.gov.uk/issues/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=service.gov.uk | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
repos=( | |
self-employed-income-support | |
self-employed-income-support-admin-frontend | |
self-employed-income-support-check-frontend | |
self-employed-income-support-eligibility | |
self-employed-income-support-frontend | |
self-employed-income-support-stub | |
self-employed-income-support-journey-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {Writable, Readable, Transform} = require('stream'); | |
class PromiseStream extends Readable { | |
constructor(options) { | |
super(Object.assign({objectMode:true, options})); | |
this.draining = false; | |
this.promiseCount = 0; | |
} | |
handleCompletion(x) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace ConsoleApplication | |
{ | |
delegate int Op (int a); | |
delegate int TwoOp (int a, int b); | |
delegate Op CurriedOp (int a); | |
class OpCurryer { | |
private TwoOp f; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
$(":not(A)[href]").css("cursor","pointer") | |
.click(function(evt){window.location = $(this).attr("href");evt.stopPropagation();}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function prompt { | |
write-host; | |
get-location | write-host; | |
if (isCurrentDirectoryGitRepository) { | |
$status = gitStatus | |
Write-Host('[') -nonewline -foregroundcolor Yellow | |
write-host $status["branch"] -nonewline -foregroundcolor Yellow; | |
if ($status["remote"] -ne ""){ | |
if ($status["behind"] -ne 0){ |