Skip to content

Instantly share code, notes, and snippets.

View mtdeguzis's full-sized avatar

Michael T. DeGuzis mtdeguzis

  • Geisinger Health System
View GitHub Profile
@mtdeguzis
mtdeguzis / setup_knoxSSO_hdp265.sh
Created February 12, 2019 23:01 — forked from abajwa-hw/setup_knoxSSO_hdp265.sh
Setup Knox SSO for Ambari/Ranger/Atlas on HDP 2.6.5
#!/usr/bin/env bash
export cluster_name=$1
export host=$(hostname -f)
export ambari_pass=$2
export knox_ldap_pass=$3
hostname=$(hostname -f)
current_dir=$(pwd)
cd /tmp
#Copy config-update to /tmp
cp /tmp/masterclass/ranger-atlas/HortoniaMunichSetup/config_update.py .
@mtdeguzis
mtdeguzis / pkguninst.sh
Created January 14, 2020 18:49 — forked from wallneradam/pkguninst.sh
MacOS Package Uninstaller
#!/bin/bash
############################################################
### Shell script to uninstall Mac Os X packages ###
### Based on pkgutil. ###
### Created by Adam Wallner <adam.wallner at gmail.comu> ###
### V1.0.1 ###
############################################################
IFS=$'\n'
function get_pkgid {