Skip to content

Instantly share code, notes, and snippets.

View anton-fomin's full-sized avatar

Anton Fomin anton-fomin

  • Montenegro, Budva
View GitHub Profile
@anton-fomin
anton-fomin / bloop.sbt
Last active December 13, 2021 04:21
How to run play framework with bloop
// Should be put into ~/.sbt/1.0/plugins/bloop.sbt
// By default, this file does not do anything.
// If the environment variable BLOOP_ENABLED has the value 'true',
// then this file enables sbt-bloop.
if (System.getenv("BLOOP_ENABLED") == "true") {
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.3.4")
} else Nil
@anton-fomin
anton-fomin / jira-bookmarklet.js
Created April 19, 2021 09:55
Bookmarklet to create feature branch name from JIRA ticket on a ticket page
javascript:(function(){
const href = window.location.href;
const query = href.split('?')[1];
let queryObj = null;
if (query) {
queryObj = query.split('&').map(it => {
return it.split('=')
}).find(it => it[0] === 'selectedIssue');
};