Skip to content

Instantly share code, notes, and snippets.

View tant4lus's full-sized avatar

Mel Tan tant4lus

  • Aritzia LP
  • Vancouver, Canada
View GitHub Profile
@tant4lus
tant4lus / install-AzCopy.sh
Created October 24, 2023 22:32 — forked from aessing/install-AzCopy.sh
Install AzCopy on Linux
#!/bin/bash
# =============================================================================
# Install AzCopy on Linux
# https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10
# https://github.com/Azure/azure-storage-azcopy
# -----------------------------------------------------------------------------
# Developer.......: Andre Essing (https://www.andre-essing.de/)
# (https://github.com/aessing)
# (https://twitter.com/aessing)
# (https://www.linkedin.com/in/aessing/)
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@tant4lus
tant4lus / threaddump.py
Last active August 29, 2015 14:02
Weblogic Thread Dump Script
# Based on Oracle Support Note 1274713.1
# https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=14sej99wm2_117&id=1274713.1
# Takes 5 thread dumps on each managed server connected to the AdminServer
# Thread dumps are taken 15 seconds apart
# Connects using a user userFile and keyFile
from time import strftime
from java.text import SimpleDateFormat
login_UserFile = raw_input('Enter path of userUserFile : ')
@tant4lus
tant4lus / healthCheck.py
Last active December 18, 2023 22:53
Weblogic Server Health Check
#======================================
from java.io import FileInputStream
import java.lang
import os
import string
import sys
sys.stdout = file('currentAppState_file_DEL','w')
#propertiesFile = raw_input('Please enter path of properties file (e.g. /u01/app/oracle/domains/oms01/oms01.properties) : ')
@tant4lus
tant4lus / standard_wls.xml
Last active January 3, 2016 22:19
My standard file for a Oracle (BEA) Weblogic 10.3.6 Silent Install XML. Includes Oracle Coherence but without Oracle SCA
<?xml version="1.0" encoding="UTF-8"?>
<!-- File: standard_wls.xml -->
<!-- Example execute command: ./wls1036_linux32.bin -mode=silent -silent_xml=standard_wls.xml -log=install.log -Djava.io.tmpdir=/tmp -->
<!-- Specify values for each data-value name as follows:
BEAHOME Complete pathname to the Middleware Home directory that
will contain this installation.
WLS_INSTALL_DIR Complete pathname to the product installation