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/bin/env python | |
# coding=utf-8 | |
# searches an issue on Jira server for k15 Backbone Sync properties | |
# 1. update Jira connection + project info below | |
# 2. add issue range to search, either single issue or a range | |
from __future__ import print_function | |
from __future__ import unicode_literals |
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/bin/env python | |
# coding=utf-8 | |
# JIRA webhook listener "Maestro" | |
# uses python Tornado scalable web server to handle requests coming | |
# coming in via webhooks from Jira instance | |
import tornado.httpserver | |
import tornado.ioloop | |
import tornado.options |
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
#!/bin/bash | |
# Jira Maestro Docker Build | |
set -x | |
APP_ENV="dev" | |
PORT=5810 | |
IMAGE_VER=$APP_ENV-$(date '+%Y%m%d%H%M%S') | |
TAG="artifactory.local/jira-maestro" | |
DEV_HOSTNAME='mrxdev1.vagrant.local' | |
DEV_IP='14.115.20.166' |
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
# Injects an external cert into 'cacerts' | |
- hosts: target | |
vars: | |
cert_server: ldap.server.company:636 # FQDN | |
cert_alias: ldap.server | |
app: myApp | |
app_install_dir: "/opt/application" |
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
[global_config] | |
window_state = maximise | |
[keybindings] | |
[layouts] | |
[[default]] | |
[[[child1]]] | |
parent = window0 | |
type = Terminal | |
[[[window0]]] | |
parent = "" |
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
#!/bin/bash | |
CURR_USER="$(whoami)" | |
ANACONDA_URL="https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh" | |
_DB_PASSWORD="airflow992x" | |
_IP=$(hostname -I | cut -d' ' -f1) | |
while getopts "a:p:h" opt; do | |
case $opt in | |
a) ANACONDA_URL="$OPTARG";; | |
p) _DB_PASSWORD="$OPTARG";; |
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
{ | |
"window.zoomLevel": 1, | |
"workbench.colorTheme": "One Dark Pro", | |
"http.proxy": "http://xxxx.local:8080", | |
"http.proxyStrictSSL": false, | |
"window.menuBarVisibility": "default", | |
"editor.fontSize": 19, | |
"editor.fontFamily": "'Inconsolata', 'Droid Sans Mono', 'Courier', 'Droid Sans Fallback'", | |
"terminal.integrated.fontFamily": "Inconsolata", |
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
#!/bin/bash | |
# Secure OpenVPN server installer for Debian, Ubuntu, CentOS and Arch Linux | |
# https://github.com/Angristan/OpenVPN-install | |
# Verify root | |
if [[ "$EUID" -ne 0 ]]; then | |
echo "Sorry, you need to run this as root" | |
exit 1 |
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
#!/bin/bash | |
# Colorize your terminal according to hostname - helps avoid typing wrong commands into PROD!! | |
termcolorenv() { | |
HOST=$(echo "${1}" | cut -d'@' -f2) | |
case $HOST in | |
qbt* ) PROFILE="PROD" ;; | |
atlas* ) PROFILE="PROD" ;; | |
qbch* ) PROFILE="PROD";; | |
awstestbox ) PROFILE="DEV" ;; |
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/bin/env python | |
# coding=utf-8 | |
# Deletes all branches and pull requests from a Repo unless its 'master' or 'production' | |
# TO BE USED ON DEV BITBUCKET INSTANCE ONLY!!! | |
from __future__ import print_function | |
import requests | |
from requests.packages.urllib3.exceptions import InsecureRequestWarning | |
requests.packages.urllib3.disable_warnings(InsecureRequestWarning) |