This file contains hidden or 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
| #!/bin/bash | |
| # Create a new temporary kubeconfig file and display a command to | |
| # configure the current shell to use the new kubeconfig file. | |
| # This is helpful if you interact with multiple OpenShift clusters | |
| # at the same time. | |
| # | |
| # Usage: | |
| # $(kubectl-new-env) | |
| set -euo pipefail |
This file contains hidden or 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
| from terminatorlib import config, plugin | |
| AVAILABLE = ['JiraIssueURLHandler'] | |
| DEFAULT_JIRA_URL = 'https://jira.atlassian.com/browse' | |
| DEFAULT_MATCH = '[A-Z0-9]{3,}-[0-9]{3,}' | |
| class JiraIssueURLHandler(plugin.URLHandler): | |
| capabilities = ['url_handler'] | |
| handler_name = 'jira_issue' |
This file contains hidden or 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
| #!/bin/env python | |
| from __future__ import print_function | |
| from collections import Counter | |
| import os.path | |
| import subprocess | |
| import json | |
NewerOlder