Skip to content

Instantly share code, notes, and snippets.

HOJIN LEE w4-hojin

Block or report user

Report or block w4-hojin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Gerrit_Helper.user.js
// ==UserScript==
// @name Gerrit_Youtrack_Jira_Helper
// @namespace https://skelterlabs.com/
// @homepage https://gist.github.com/w4-hojin/7b46d33472a65cfe3510059ab25bf1da
// @version 0.9
// @description Gerrit Youtrack Jira Helper.
// @author hojin <hojin@wisefour.com>
// @require https://code.jquery.com/jquery-1.12.4.min.js
// @downLoadUrl https://gist.githubusercontent.com/w4-hojin/7b46d33472a65cfe3510059ab25bf1da/raw/Gerrit_Helper.user.js
// @updateUrl https://gist.githubusercontent.com/w4-hojin/7b46d33472a65cfe3510059ab25bf1da/raw/Gerrit_Helper.user.js
@w4-hojin
w4-hojin / gist:7e1de1ddb4e13254c63ea4e1d99edb04
Last active Apr 13, 2017
Time format for elasticsearch and kibana
View gist:7e1de1ddb4e13254c63ea4e1d99edb04
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"
View Youtrack_Helper.user.js
// ==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
View clean_branches.py
#!/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):
You can’t perform that action at this time.