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
{ | |
"name": "Portico", | |
"vendorProductId": 1414201352, | |
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], | |
"layers": [ | |
[ | |
"KC_GESC", | |
"KC_1", | |
"KC_2", | |
"KC_3", |
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
cd $env:LOCALAPPDATA\chia-blockchain\app-1.1.0\resources\app.asar.unpacked\daemon | |
chia plots create -k 32 -n 10 -b 8000 -r 8 -t T:\ -d F:\ | |
PAUSE |
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
#!/usr/bin/env bash | |
# Used for lab - download all the Turnkey containers locally | |
# If you want the system containers, system is the section you want! | |
STORAGE="local" # Find here: https://proxmox:8006/#v1:0:=type%2Fstorage:4:=jsconsole::::7:=consolejs: | |
SECTION="turnkeylinux" # Can also use "system" | |
# Find all containers for the section and download them to defined storage | |
# The awk statement here grabs the second column (container name) from the pveadm |
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
` # \ | |
# PowerShell Param statement : every line must end in #\ except the last line must with <#\ | |
# And, you can't use backticks in this section #\ | |
param( [ValidateSet('A','B')]$tabCompletionWorksHere, #\ | |
[switch]$andHere #\ | |
) <#\ | |
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ` | |
#vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | |
# Bash Start ------------------------------------------------------------ |
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
## All options defined here are available to all instances. | |
# | |
init_config: | |
## @param service - string - optional | |
## Attach the tag `service:<SERVICE>` to every metric, event, and service check emitted by this integration. | |
## | |
## Additionally, this sets the default `service` for every log source. | |
# | |
# service: <SERVICE> |
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
$DSRMPass = ConvertTo-SecureString -String "CHANGEME" -AsPlainText -Force | |
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools | |
Install-ADDSForest ` | |
-CreateDnsDelegation:$false ` | |
-DatabasePath "C:\Windows\NTDS" ` | |
-DomainMode 7 ` | |
-ForestMode 7 ` | |
-DomainName "lab.local" ` | |
-InstallDns:$true ` | |
-SafeModeAdministratorPassword $DSRMPass ` |
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
#!/usr/bin/env bash | |
# Requirements: | |
# brew install gource libav ffmpeg | |
# Feel free to play around with these to test! | |
FILENAME="output" # mp4 extension is currently hardcoded | |
TITLE="Datadog Agent" # This title goes bottom left | |
FRAMERATE="25" # Pick 25, 30, 60 | |
RESOLUTION="3840x2160" # Examples: 1920x1080, 3840x2160, 1280×720 |
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
#!/usr/bin/env bash | |
set -euox pipefail | |
# Disk utilization for files and inodes | |
# to use: | |
# `./du10.sh` | |
# Top ten inodes, queue depth 1 | |
du -ad 1 --inodes . | sort -rn | head -10 |
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
#!/usr/bin/env bash | |
# Add Fonz's Repo - steps to follow for your own recompile: | |
# https://www.fonz.net/blog/archives/2020/06/19/datadog-v7-on-raspberry-pi2/ | |
echo 'deb http://apt.fonz.net datadog-arm main' >> /etc/apt/sources.list | |
# Run an apt update to grab the newly added source | |
apt update | |
# Add the cert key, this would apply to your in-house repo (ID AT THE END WILL BE DIFFERENT) |