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 <[email protected]> | |
// @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/[email protected]/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 <[email protected]> | |
// @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): |