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 Enhancements | |
// @namespace https://gist.github.com/fedosov/46f01a9373db87c03dd6cb1a87b28cc0 | |
// @version 0.7 | |
// @description Jira compact card view and mark for unmerged tasks | |
// @author Mikhail Fedosov | |
// @match https://*.atlassian.net/* | |
// @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
# coding: utf-8 | |
import re | |
import argparse | |
import urlparse | |
import tornado.web | |
import tornado.ioloop | |
import tornado.httpserver | |
import tornado.httpclient | |
from bs4 import BeautifulSoup | |
from bs4.element import NavigableString |
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
// На странице результатов поиска вставить в адресную строку, удалить пробел после `ja` и нажать `Enter`: | |
ja vascript:$("a[href^='/showphoto.php']").each(function(){var self=$(this);$.get(self.attr("href"),function(data){var row=$("<tr>");var col=$("<td colspan='10'>");var photos=$(data).find("#photos").clone();photos.find("img").each(function(){$(this).attr("height","200")});col.append(photos);row.append(col);self.closest("tr").after(row)})}); | |
// Развернутый вариант: | |
$("a[href^='/showphoto.php']").each(function() | |
{ | |
var self = $(this); | |
$.get(self.attr("href"), function(data) | |
{ | |
var row = $("<tr>"); |