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 | |
# sample upload script to upload Postgres RPM package to Artifactory | |
# usage: ./upload2artifactory.sh /tmp/some-rpm-name.rpm | |
if [ $# -le 0 ]; then echo "missing RPM name as parameter"; exit 1; fi | |
rpm_location=$1 | |
rpm_name=$(echo $rpm_location | awk '{match($1, "[^/]*$", a)}END{print a[0]}') | |
artif_pkg_path="/stable-rpms/p/postgres/${rpm_name}" | |
artif_key="Artif API KEY here" |
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
- hosts: webservers | |
tasks: | |
- name: update nessus SSH keys | |
become_user: root | |
become_method: sudo | |
become: true | |
authorized_key: | |
user: nessus | |
key: "{{ lookup('pipe','cat ../files/ssh_keys/nessus.pub') }}" | |
state: present |
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
<style type="text/css"> | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 300; | |
src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTa-j2U0lmluP9RWlSytm3ho.woff2) format('woff2'); | |
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; | |
} | |
.body { | |
width: 90%; |
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
[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
set -U fish_user_paths /usr/local/bin /usr/sbin $fish_user_paths |
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 | |
# 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' |