This file contains hidden or 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
| # Generate a password-less SSH Key. | |
| ssh-keygen -t rsa -b 2048 -C "ssh-key-name-goes-here" -f ~/.ssh/ssh-key-name-goes-here -N '' | |
| # Add a key for logging in via SSH or cloning Git via SSH. | |
| eval $(ssh-agent -s) ; ssh-add ~/.ssh/ | |
| # Retrieve contents of Docker Registry or Azure Container Registry secret in Kubernetes Cluster. | |
| kubectl get secret regcred --output="jsonpath={.data.\.dockerconfigjson}" | base64 --decode | |
| # Retrieving all of the Agent Pools that are not 'master'. |
This file contains hidden or 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
| sudo apt-get update && \ | |
| sudo apt-get install -y vim curl git software-properties-common && \ | |
| sudo apt-get update && \ | |
| sudo apt-add-repository ppa:ansible/ansible && \ | |
| sudo apt-get install -y ansible | |
| cd ~ && mkdir .ssh/ | |
| ssh-keygen \ | |
| -t rsa \ |
This file contains hidden or 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
| var path = "url here" | |
| var xhttp = new XMLHttpRequest(); | |
| xhttp.onreadystatechange = function () { | |
| if (this.readyState == 4 && this.status == 200) { | |
| this.responseText; //file content | |
| } | |
| }; | |
| xhttp.open("GET", path, true); | |
| xhttp.send(); |
This file contains hidden or 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 | |
| # Name: install_azure_cli_centos.sh | |
| # Author: Ryan Irujo | |
| # | |
| # Inception: 01.04.2016 | |
| # Description: This Script is responsible for performing the following actions: | |
| # - Installing the Azure CLI for Linux. | |
| # - All Output from the Script is written to a Log File called 'InstallAzureCLIErrors.log' which is deleted if everything ran successfully. | |
| # | |
| # Additional Notes: |
This file contains hidden or 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
| ;SQL Server 2012 Configuration File | |
| [OPTIONS] | |
| ; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter. | |
| ACTION="Install" | |
| ; Detailed help for command line argument ENU has not been defined yet. | |
| ENU="True" |
This file contains hidden or 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 | |
| # | |
| # NRPE Multi-Agent Updater Script | |
| # | |
| # Author : Ryan Irujo | |
| # Inception: 03.07.2012 | |
| # | |
| # Description: Bash Script used to update multiple NRPE Agent on multiple hosts listed in a text file | |
| # called 'hosts.txt'. | |
| # |
This file contains hidden or 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 | |
| # | |
| # OpCfg_MySQL_Backup Script | |
| # | |
| # Author: Ryan Irujo | |
| # Inception: 12.06.2012 | |
| # Last Modified: 12.06.2012 | |
| # | |
| # Description: Mysqldump backup script for OpCfg. | |
| # |
This file contains hidden or 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
| ################################################################################# | |
| # | |
| # [SCOM_Mon_Query.ps1] - SCOM 2012 - Agent Monitoring Query Tool | |
| # | |
| # Author: Ryan Irujo | |
| # | |
| # Inception: 11.26.2012 | |
| # Last Modified: 11.30.2012 | |
| # | |
| # Syntax: ./SCOM_Mon_Query.ps1 <hostname> |
NewerOlder