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 Gerrit_Helper | |
// @namespace https://skelterlabs.com/ | |
// @homepage https://gist.github.com/w4-hojin/7b46d33472a65cfe3510059ab25bf1da | |
// @version 0.22 | |
// @description Gerrit Helper. | |
// @author hojin <hojin@wisefour.com> | |
// @require https://code.jquery.com/jquery-3.4.1.min.js | |
// @require https://cdn.jsdelivr.net/ally.js/1.4.1/ally.min.js | |
// @require https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js |
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
http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateOptionalTimeParser-- | |
dateFormat for kibana: YYYY-MM-DDTHH:mm:ssZ | |
Ex: 2017-04-13T12:01:44+09:00 | |
string_query: @timestamp:"2017-04-13T12:01:44+09:00" |
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 Youtrack Helper | |
// @namespace https://kyte.today/ | |
// @version 1.3.8 | |
// @description Make useful links in youtrack. | |
// @author Hojin Lee <hojin@wisefour.com> | |
// @require https://code.jquery.com/jquery-1.12.4.min.js | |
// @require https://raw.githubusercontent.com/hazzik/livequery/master/dist/jquery.livequery.min.js | |
// @match https://youtrack.gabepos.com/* | |
// @grant none |
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
#!/usr/local/bin/python3 | |
import argparse | |
import os | |
import os.path as osp | |
from git import Repo | |
from git.exc import GitCommandError | |
class ReadableDir(argparse.Action): | |
def __call__(self, parser, namespace, values, option_string=None): |