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/sh | |
# | |
# Too many crusty old git branches? Run this to find likely candidates for deletion | |
# It lists all the remote branches and sorts them by age. | |
# | |
# Folks at pivotal shared this with me | |
# | |
#$ . show-remote-branch-info.sh | |
# 2012-05-04 09:42:29 -0700 4 minutes ago Ted & Bill \torigin/hey_Bill |
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/python | |
# python get-all-stash-repos.py [host] [project] [user] [password] [target-root-dir] | |
import sys | |
import os | |
import stashy | |
import git | |
import argparse | |
import getpass | |
parser = argparse.ArgumentParser(description='get all repositories from stash') |
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
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:ns0="http://www.mulesoft.org/schema/mule/core"> | |
<xsl:output omit-xml-declaration="yes" indent="yes"/> | |
<xsl:strip-space elements="*"/> | |
<xsl:template match="@*|node()"> | |
<xsl:copy> | |
<xsl:apply-templates select="@*|node()"/> | |
</xsl:copy> |
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
{ | |
"basics": { | |
"name": "Nabeel Shaheen", | |
"label": "Integration Consultant", | |
"picture": "", | |
"email": "nabeel@cloud-integrators.com.au", | |
"phone": "+61 416 648 428", | |
"website": "https://nabsha.wordpress.com", | |
"summary": "Integration Consultant with 15+ years of experience in integrating enterprise applications using state-of-the-art technologies. Well versed in Mulesoft offerings including Anypoint Platform, API Manager, API Designer, Runtime Manager, etc. Experienced in deployment of Runtime Manager in a variety of combinations including Cloudhub, AWS Platform, Openshift/Kuberenetes and hybrid configurations. ", | |
"location": { |
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
1 | |
00:02:02,880 --> 00:02:07,488 | |
Thank god | |
2 | |
00:02:09,024 --> 00:02:09,792 | |
Thanks God | |
3 | |
00:02:10,816 --> 00:02:11,840 |
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/sh | |
# Copyright (c) 1999, 2013 Tanuki Software, Ltd. | |
# | |
# Java Service Wrapper sh script. Suitable for starting and stopping | |
# wrapped Java applications on UNIX platforms. | |
# Get the fully qualified path to the script | |
case $0 in | |
/*) |
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
oc get secrets -o wide --all-namespaces=true | grep qat | grep mule | awk '{ system("oc get secrets --namespace=" $1 " " $2 " -o yaml | grep credentials | cut -d: -f2 | base64 -d") }' |
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
[user] | |
name = Nabeel Shaheen | |
email = | |
username = | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls |
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
import os | |
import pandas as pd | |
import glob | |
def merge_csvs(results_, column_prefix): | |
path = results_ # use your path | |
all_files = glob.glob(path + "/*.csv") | |
print(all_files) | |
li = [] |
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/sh | |
alias anypoint-cli='docker run --rm --name anypoint-cli -it integrational/anypoint-cli:3.0.0' | |
for env in TST SIT UAT PRD | |
do | |
echo "Environment is " $env | |
anypoint-cli --bearer $1 --organization $2 --environment $env --output text runtime-mgr cloudhub-application list | |
done |
OlderNewer