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
IMAGE CREATED CREATED BY SIZE COMMENT | |
sha256:b78927657a42e26b8cac0b9b8e0a4db006f2d570178f029fd6b1bff015dab4a8 2 weeks ago /bin/bash -c #(nop) SHELL [/bin/bash -c] 0B | |
<missing> 2 weeks ago /bin/sh -c #(nop) HEALTHCHECK &{["CMD-SHELL" "dig +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1"] "0s" "0s" "0s" '\x00'} 0B | |
<missing> 2 weeks ago /bin/sh -c #(nop) LABEL url=https://www.github.com/pi-hole/docker-pi-hole 0B | |
<missing> |
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
KexAlgorithms curve25519-sha256,[email protected] | |
HostKeyAlgorithms [email protected],ssh-ed25519 | |
Ciphers [email protected] | |
MACs [email protected],[email protected] |
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
PAT="mypat123" | |
REPO_URL="https://[email protected]/myorg/myrepo/_git/myrepo" | |
AUTH=$(echo -n ":$PAT" | openssl base64 | tr -d '\n') | |
git config --global http.$REPO_URL.extraHeader="Authorization: Basic $AUTH" | |
git -c http.$REPO_URL.extraheader="Authorization: Basic $AUTH" clone $REPO_URL --no-checkout --branch 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
HISTIGNORE="cd *:rm *:curl *:grep *:wget *:ssh *:scp *:sftp *:&" | |
# Colors | |
export CLICOLOR=1 | |
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
alias j='jobs' | |
alias k='kill' | |
alias more="less" |
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
# from https://stackoverflow.com/questions/63804829/powershell-expand-group-object | |
Get-EventLog -Logname system -EntryType "Error" | | |
Group-Object 'InstanceID' | Select-Object Count, Name, | |
@{Name="Message";Expression={$_.Group.Message | select -first 1}} | | |
Format-Table -Wrap |
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 | |
# cpustatus | |
# | |
# Prints the current state of the CPU like temperature, voltage and speed. | |
# The temperature is reported in degrees Celsius (C) while | |
# the CPU speed is calculated in megahertz (MHz). | |
function convert_to_MHz { | |
let value=$1/1000 | |
echo "$value" |
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
################################################################################### | |
# File Name: RDSHCert.ps1 # | |
# Description: Script to Configure RDSH Certificate in WMI RDP-TCP # | |
# Version: 1.0 # | |
# Creator: Ryan Mangan # | |
# Emails: [email protected] # | |
# Blog: Ryanmangansitblog.com # | |
# # | |
# Date: March 2014 # | |
# Notes: RDSH Certificate Deployment # |
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
Function Get-SSLThumbprint { | |
param( | |
[Parameter( | |
Position=0, | |
Mandatory=$true, | |
ValueFromPipeline=$true, | |
ValueFromPipelineByPropertyName=$true) | |
] | |
[Alias('FullName')] | |
[String]$URL |
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/sh | |
if [ ! -d "/usr/local/lib" ]; then | |
echo "Creating directory \"/usr/local/lib\"..." | |
sudo mkdir "/usr/local/lib" | |
fi | |
echo "Downloading \"SUVMMFaker.dylib\"..." | |
sudo curl -o "/usr/local/lib/SUVMMFaker.dylib" "http://dosdude1.com/sierra/swupatch/SUVMMFaker.dylib" | |
sudo chmod 755 "/usr/local/lib/SUVMMFaker.dylib" |
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 | |
# 1 = VMware Tools ISO is mounted from vSphere | |
# 2 = Download VMware Tools (assumes you can connect to internet) | |
INSTALL_METHOD=2 | |
C_OPTS="-sL --tlsv1.2 --compressed" | |
# Thanks to Rich Trouton for tip on Tools being available online | |
# change things depending on MacOS version |