This gist has migrated to the repo below.
Please submit new entries as pull requests to https://github.com/jauderho/nts-servers.
Initial source: https://docs.ntpsec.org/latest/NTS-QuickStart.html
This gist has migrated to the repo below.
Please submit new entries as pull requests to https://github.com/jauderho/nts-servers.
Initial source: https://docs.ntpsec.org/latest/NTS-QuickStart.html
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> |
KexAlgorithms curve25519-sha256,[email protected] | |
HostKeyAlgorithms [email protected],ssh-ed25519 | |
Ciphers [email protected] | |
MACs [email protected],[email protected] |
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 |
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" |
# 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 |
#!/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" |
################################################################################### | |
# 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 # |
Function Get-SSLThumbprint { | |
param( | |
[Parameter( | |
Position=0, | |
Mandatory=$true, | |
ValueFromPipeline=$true, | |
ValueFromPipelineByPropertyName=$true) | |
] | |
[Alias('FullName')] | |
[String]$URL |
#!/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" |