Dict {
smb_sid = Array {
S-1-5-18
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
require 'httparty' | |
class Splunk | |
include HTTParty | |
base_uri 'https://YOUR_SPLUNK_SERVER:8089/services' | |
def initialize(username, password) | |
@auth = { :username => username, :password => password } | |
end |
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
———————————————————————————————————————————————————————————————————————————————————————————————————— | |
BBEdit / BBEdit-Lite / TextWrangler Regular Expression Guide Modified: 2018/08/10 01:19 | |
———————————————————————————————————————————————————————————————————————————————————————————————————— | |
NOTES: | |
The PCRE engine (Perl Compatible Regular Expressions) is what BBEdit and TextWrangler use. | |
Items I'm unsure of are marked '# PCRE?'. The list while fairly comprehensive is not complete. |
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 | |
SCRIPT_VERSION="1.0" | |
# some background info here: https://discussions.apple.com/message/24596710#24596710 | |
# verify ARD Admin version | |
# quit ARD Admin - if running, wait 10 seconds | |
# kill cfprefsd | |
# rename plist | |
# sed |
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 | |
################################################################################# | |
# # | |
# Author: Calum Hunter # | |
# Date: 22-08-2016 # | |
# Version: 1.0 # | |
# Purpose: Install check script for the AD Bind Package. # | |
# This script checks to see if we are bound to AD and if our binding # | |
# is working. If we are not bound, or our binding is broken. # |
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
<# | |
.SYNOPSIS | |
PRTG Veeam Backup for Microsoft 365 Advanced Sensor. | |
.DESCRIPTION | |
Advanced Sensor will Report Job status, job nested status, repository statistics and proxy status. | |
- If not already done, enable the the API in VBO https://helpcenter.veeam.com/docs/vbo365/rest/enable_restful_api.html?ver=20 | |
- On your probe, add script to 'Custom Sensors\EXEXML' folder | |
- In PRTG, on your probe add EXE/Script Advanced sensor |
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
# Setup code-server on macos 10.15.x | |
https://github.com/cdr/code-server | |
Download a release binary for macOS | |
wget https://github.com/cdr/code-server/releases/download/v3.4.1/code-server-3.4.1-macos-amd64.tar.gz | |
# Unzip and put it someplace | |
tar -zxf ~/Downloads/code-server-3.4.1-macos-amd64.tar.gz -C ~/ |